CVE-2022-31692
Description
Spring Security, versions 5.7 prior to 5.7.5 and 5.6 prior to 5.6.9 could be susceptible to authorization rules bypass via forward or include dispatcher types. Specifically, an application is vulnerable when all of the following are true: The application expects that Spring Security applies security to forward and include dispatcher types. The application uses the AuthorizationFilter either manually or via the authorizeHttpRequests() method. The application configures the FilterChainProxy to apply to forward and/or include requests (e.g. spring.security.filter.dispatcher-types = request, error, async, forward, include). The application may forward or include the request to a higher privilege-secured endpoint.The application configures Spring Security to apply to every dispatcher type via authorizeHttpRequests().shouldFilterAllDispatcherTypes(true)
Weakness
- CWE-639: Authorization Bypass Through User-Controlled Key
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-05-06 |
Timeline
- 2022-10-31Published by the CNA00:00 UTC
- 2022-11-01GitHub advisory published (GHSA-mmmh-wcxm-2wr4)1 day after publication
- 2025-05-06CISA SSVC decision recorded918 days after publication
Exploit and advisory records
GitHub advisory GHSA-mmmh-wcxm-2wr4, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.springframework.security:spring-security-core | from 5.6.0 before 5.6.9 | 5.6.9 |
| Maven org.springframework.security:spring-security-core | from 5.7.0 before 5.7.5 | 5.7.5 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| vmware spring_security | from 5.6.0 before 5.6.9fixed in 5.6.9from 5.7.0 before 5.7.5fixed in 5.7.5 | 5.6.95.7.5 |
| netapp active_iq_unified_manager |
References
- https://tanzu.vmware.com/security/cve-2022-31692
- https://security.netapp.com/advisory/ntap-20221215-0010/
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-31692'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-31692'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-31692'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-31692'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).