{"id":"CVE-2022-22978","aliases":["GHSA-hh32-7344-cg2f"],"url":"https://o3.security/vulnerability/CVE-2022-22978","summary":"Authorization bypass in Spring Security","details":"In spring security versions prior to 5.4.11+, 5.5.7+ , 5.6.4+ 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.","published":"2022-05-19T00:00:00Z","modified":"2026-10-28T02:31:03.451240759Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.12351,"percentile":0.95993,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":6,"affectedPackages":[{"ecosystem":"Maven","name":"org.springframework.security:spring-security-core","fixedVersion":"5.5.7"},{"ecosystem":"Maven","name":"org.springframework.security:spring-security-core","fixedVersion":"5.6.4"},{"ecosystem":"Maven","name":"org.springframework.security:spring-security-core","fixedVersion":"5.4.11"},{"ecosystem":"Maven","name":"org.springframework.security:spring-security-web","fixedVersion":"5.5.7"},{"ecosystem":"Maven","name":"org.springframework.security:spring-security-web","fixedVersion":"5.6.4"},{"ecosystem":"Maven","name":"org.springframework.security:spring-security-web","fixedVersion":"5.4.11"}],"fix":null,"references":[{"type":"WEB","url":"https://spring.io/security/cve-2022-22978"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22978.json"},{"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://tanzu.vmware.com/security/cve-2022-22978"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:31:03.451240759Z"}}