ghsa-hh32-7344-cg2f
Vulnerability from github
Published
2022-05-20 00:00
Modified
2024-10-04 20:22
Severity ?
Summary
Authorization bypass in Spring Security
Details
In Spring Security versions 5.5.6 and 5.5.7 and older unsupported versions, RegexRequestMatcher can easily be misconfigured to be bypassed on some servlet containers. Applications using RegexRequestMatcher with .
in the regular expression are possibly vulnerable to an authorization bypass.
{ "affected": [ { "package": { "ecosystem": "Maven", "name": "org.springframework.security:spring-security-core" }, "ranges": [ { "events": [ { "introduced": "5.5.0" }, { "fixed": "5.5.7" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.springframework.security:spring-security-core" }, "ranges": [ { "events": [ { "introduced": "5.6.0" }, { "fixed": "5.6.4" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.springframework.security:spring-security-core" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "5.4.11" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.springframework.security:spring-security-web" }, "ranges": [ { "events": [ { "introduced": "5.5.0" }, { "fixed": "5.5.7" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.springframework.security:spring-security-web" }, "ranges": [ { "events": [ { "introduced": "5.6.0" }, { "fixed": "5.6.4" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.springframework.security:spring-security-web" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "5.4.11" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-22978" ], "database_specific": { "cwe_ids": [ "CWE-285", "CWE-863" ], "github_reviewed": true, "github_reviewed_at": "2022-05-25T20:20:36Z", "nvd_published_at": "2022-05-19T15:15:00Z", "severity": "CRITICAL" }, "details": "In Spring Security versions 5.5.6 and 5.5.7 and older unsupported versions, RegexRequestMatcher can easily be misconfigured to be bypassed on some servlet containers. Applications using RegexRequestMatcher with `.` in the regular expression are possibly vulnerable to an authorization bypass.", "id": "GHSA-hh32-7344-cg2f", "modified": "2024-10-04T20:22:02Z", "published": "2022-05-20T00:00:39Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22978" }, { "type": "WEB", "url": "https://github.com/anchore/grype/issues/2158" }, { "type": "PACKAGE", "url": "https://github.com/spring-projects/spring-security" }, { "type": "WEB", "url": "https://github.com/spring-projects/spring-security/blob/main/web/src/main/java/org/springframework/security/web/util/matcher/RegexRequestMatcher.java" }, { "type": "WEB", "url": "https://security.netapp.com/advisory/ntap-20220707-0003" }, { "type": "WEB", "url": "https://spring.io/security/cve-2022-22978" }, { "type": "WEB", "url": "https://tanzu.vmware.com/security/cve-2022-22978" }, { "type": "WEB", "url": "https://www.oracle.com/security-alerts/cpujul2022.html" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "Authorization bypass in Spring Security" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.