CVE-2022-22978: Authorization bypass in Spring Security
(updated )
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.
References
- github.com/advisories/GHSA-hh32-7344-cg2f
- github.com/anchore/grype/issues/2158
- github.com/spring-projects/spring-security
- github.com/spring-projects/spring-security/blob/main/web/src/main/java/org/springframework/security/web/util/matcher/RegexRequestMatcher.java
- nvd.nist.gov/vuln/detail/CVE-2022-22978
- security.netapp.com/advisory/ntap-20220707-0003
- spring.io/security/cve-2022-22978
- tanzu.vmware.com/security/cve-2022-22978
- www.oracle.com/security-alerts/cpujul2022.html
Code Behaviors & Features
Detect and mitigate CVE-2022-22978 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →