CVE-2022-31692 in the critical feed json
Spring Security authorization rules can be bypassed via forward or include dispatcher types
published 2022-10-31 4 y ago modified 2026-06-17 4 mo ago also GHSA-mmmh-wcxm-2wr4 , EUVD-2022-7386
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.2%
- EPSS 4.2% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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)
Patch / fix
- maven org.springframework.security:spring-security-core 5.6.9, 5.7.5
- vmware spring_security 5.6.9, 5.7.5
- haproxy openshift 4.10 2.2.19-4.el8
- jenkins openshift 4.10 2.387.1.1680701869-1.el8
- haproxy22 openshift 4.10 2.2.19-4.el8
- openshift openshift 4.10 4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7
- openshift openshift 4.10 4.10.0-202303221742.p0.g16bcd69.assembly.stream.el8
- jenkins-2-plugins openshift 4.10 4.10.1680703106-1.el8
- openshift-hyperkube openshift 4.10 4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7
- openshift-hyperkube openshift 4.10 4.10.0-202303221742.p0.g16bcd69.assembly.stream.el8
red hat advisories RHSA-2023:1655
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-31692 updated cvss 7.4
spring-security: Authorization rules can be bypassed via forward or include dispatcher types in Spring Security
-
Red Hat OpenShift Developer Tools and Services jenkinsaffected: no fix available
-
Red Hat build of Quarkus quarkus-spring-securityaffected: no fix planned “Will not fix”
-
Red Hat Decision Manager 7 spring-security spring-security Red Hat JBoss Data Grid 7 spring-security spring-security Red Hat JBoss Enterprise Application Platform 6 spring-security spring-security Red Hat JBoss Fuse 6 spring-security spring-security Red Hat JBoss Fuse Service Works 6 spring-security spring-security Red Hat Process Automation 7 spring-security spring-securityaffected: no fix planned “Out of support scope”
-
Red Hat Fuse 7.12fixed: vendor fix RHSA-2023:3954
-
Red Hat OpenShift Container Platform 4.10 jenkins 2.387.1.1680701869-1.el8fixed: vendor fix RHSA-2023:1655
-
Red Hat A-MQ Clients 2 spring-security spring-security Red Hat build of Apache Camel for Spring Boot 3 spring-security spring-security Red Hat Data Grid 8 spring-security spring-security Red Hat Enterprise Linux 8 log4j, log4j-jcl, log4j-web, log4j-slf4j Red Hat Enterprise Linux 9 log4j, log4j-jcl, log4j-slf4j Red Hat Integration Camel K 1 spring-security spring-securitynot affected: vulnerable code not present
+5 more productsfewer
Red Hat Integration Camel Quarkus 2 spring-security spring-security Red Hat JBoss Enterprise Application Platform 7 spring-security-core Red Hat JBoss Enterprise Application Platform Expansion Pack spring-security spring-security Red Hat OpenShift Container Platform 4.10 haproxy 2.2.19-4.el8, haproxy22 2.2.19-4.el8, perf 4.18.0-305.85.1.el8_4, kernel 4.18.0-305.85.1.el8_4, bpftool 4.18.0-305.85.1.el8_4, toolbox 0.0.9-1.rhaos4.10.el8, +46 more Red Hat Single Sign-On 7 spring-security spring-security
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
4.25% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.springframework.security:spring-security-core | >=5.7.0, <5.7.5 >=5.6.0, <5.6.9 |
5.7.5 5.6.9 |
Affected products
- n/a Spring by VMware
Classification
- Weakness
- Technology feeds
References
-
tanzu.vmware.com
/security/cve-2022-31692
web, mitigation, vendor-advisory
-
security.netapp.com
/advisory/ntap-20221215-0010/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-31692
advisory
-
github.com
/spring-projects/spring-security
package
-
security.netapp.com
/advisory/ntap-20221215-0010
web
Sources
- CVE List CVE-2022-31692
- GitHub Advisory GHSA-mmmh-wcxm-2wr4
- NVD CVE-2022-31692
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.