{"id":"CVE-2022-22978","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.","aliases":["GHSA-hh32-7344-cg2f"],"modified":"2026-08-12T03:30:53.498694738Z","published":"2022-05-19T00:00:00Z","database_specific":{"cwe_ids":["CWE-863"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22978.json","unresolved_ranges":[{"extracted_events":[{"introduced":"Spring security versions 5.4.x prior to 5.4.11+,5.5.x prior to 5.5.7+,5.6.x prior to 5.6.4+ and all earlier unsupported versions"},{"last_affected":"Spring security versions 5.4.x prior to 5.4.11+,5.5.x prior to 5.5.7+,5.6.x prior to 5.6.4+ and all earlier unsupported versions"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"vmware"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/spring-projects/spring-security","events":[{"introduced":"0"},{"fixed":"ada333710470ae07b7e96aef1efc87d06006882c"},{"introduced":"fa628f7491277c02c820eda6f8d13a98566dd6fa"},{"fixed":"c2d2914a4f02ce38a307530229f2704e8849fd22"}],"database_specific":{"cpe":"cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"5.5.7"},{"introduced":"5.6.0"},{"fixed":"5.6.4"}],"source":"CPE_RANGE"}}],"versions":["5.5.6","5.6.3","5.6.2","5.5.5","5.6.1","5.5.4","5.6.0","5.5.3","5.5.2","5.5.1","5.5.0","5.5.0-RC2","5.5.0-RC1","5.5.0-M3","5.5.0-M2","5.5.0-M1","5.4.0","5.4.0-RC1","5.4.0-M2","5.4.0-M1","5.3.0.RELEASE","5.3.0.RC1","5.3.0.M1","5.2.0.RELEASE","5.2.0.RC1","5.2.0.M4","5.2.0.M3","5.2.0.M2","5.2.0.M1","5.1.1.RELEASE","5.1.0.RELEASE","5.1.0.RC2","5.1.0.M2","5.1.0.M1","5.0.3.RELEASE","5.0.2.RELEASE","5.0.1.RELEASE","5.0.0.RELEASE","5.0.0.RC1","5.0.0.M5","5.0.0.M4","5.0.0.M3","5.0.0.M2","5.0.0.M1","4.2.2.RELEASE","4.2.1.RELEASE","4.2.0.RELEASE","4.2.0.RC1","4.2.0.M1","4.1.1.RELEASE","4.1.0.RELEASE","4.1.0.RC2","4.1.0.RC1","3.2.0.M2","3.1.3.RELEASE","3.1.2.RELEASE","3.1.1.RELEASE","3.1.0.RELEASE","3.1.0.RC3","3.1.0.RC2","3.1.0.RC1","3.1.0.M2","3.1.0.M1","3.0.2.RELEASE","3.0.1.RELEASE","3.0.0.RC2","3.0.0.M2","2.5.0.M1","1.0.5","1.0.4","1.0.3","1.0.2","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-22978.json"}}],"schema_version":"1.9.0"}