cve.bz

CVE-2022-31692

9.8 criticalEPSS 4.2%Fix available

Critical (9.8). EPSS 4.2% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.security:spring-security-core 5.6.9, 5.7.5.

On this page
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)

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
4.2% (unchanged from 4.2% a week ago; 3.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2025-05-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-639 Authorization Bypass Through User-Controlled Key
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-31692 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-31692?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-31692?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-31692 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
vmware:spring_securityfrom 5.6.0 before 5.6.9
vmware:spring_securityfrom 5.7.0 before 5.7.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mmmh-wcxm-2wr4Mavenorg.springframework.security:spring-security-core>=5.7.0 <5.7.55.7.5
GHSA-mmmh-wcxm-2wr4Mavenorg.springframework.security:spring-security-core>=5.6.0 <5.6.95.6.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu25.10, 26.04:LTS, 26.10libspring-javano fix listedUBUNTU-CVE-2022-31692
Red Hatopenshift:4.10::el7openshift, openshift-hyperkube0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7RHSA-2023:1655
Red Hatopenshift:4.10::el8haproxy, haproxy22, haproxy-debugsource and 1 more0:2.2.19-4.el8RHSA-2023:1655
Red Hatopenshift:4.10::el8jenkins0:2.387.1.1680701869-1.el8RHSA-2023:1655
Red Hatopenshift:4.10::el8jenkins-2-plugins0:4.10.1680703106-1.el8RHSA-2023:1655
Red Hatopenshift:4.10::el8openshift, openshift-hyperkube0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el8RHSA-2023:1655

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Fuse 7.12spring-securityFixed 2023-06-29RHSA-2023:3954
Red Hat OpenShift Container Platform 4.10jenkins-0:2.387.1.1680701869-1.el8Fixed 2023-04-12RHSA-2023:1655
A-MQ Clients 2spring-securityNot affected
OpenShift Developer Tools and ServicesjenkinsAffected
Red Hat build of Apache Camel for Spring Boot 3spring-securityNot affected
Red Hat build of Quarkusquarkus-spring-securityWill not fix
Red Hat Data Grid 8spring-securityNot affected
Red Hat Decision Manager 7spring-securityOut of support scope
Red Hat Enterprise Linux 8log4j:2/log4jNot affected
Red Hat Enterprise Linux 9log4jNot affected
Red Hat Integration Camel K 1spring-securityNot affected
Red Hat Integration Camel Quarkus 2spring-securityNot affected
Red Hat JBoss Data Grid 7spring-securityOut of support scope
Red Hat JBoss Enterprise Application Platform 6spring-securityOut of support scope
Red Hat JBoss Enterprise Application Platform 7spring-security-coreNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packspring-securityNot affected
Red Hat JBoss Fuse 6spring-securityOut of support scope
Red Hat JBoss Fuse Service Works 6spring-securityOut of support scope
Red Hat Process Automation 7spring-securityOut of support scope
Red Hat Single Sign-On 7spring-securityNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-31692.

References

Check your stackJSON