WaratekVRT Sign in

CVE-2022-31692 Spring Security

Affected softwareSpring Security
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in5.7.5, 5.6.9
WeaknessIncorrect authorization (CWE-863)
Published31 Oct 2022
Updated17 Jun 2026

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)

CWE-639

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 2 indexed Published artifacts you can open, in GitHub PoC; first seen 2022-11-03.
  • EPSS 4.2% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC A project demonstrating an app that is vulnerable to Spring Security authorization bypass CVE-2022-31692 35 2022-11-03
GitHub PoC Demonstration of CVE-2022-31692 authorization bypass in Spring Security 2023-10-29

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by The affected package being open source on Maven, so the fix can be read
Finding This CVE affects an open-source Java library published on Maven Central (Maven packages: org.springframework.security:spring-security-core), so it is squarely in ARMR's territory and the source needed to understand the defect is public. That makes it a candidate for an ARMR patch rule. No rule exists and none is scheduled: the diff between the affected and fixed versions has not been read, and a closer look may find no hook point ARMR can act on.

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
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 NVD Primary published
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 CISA-ADP Secondary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update January 2024 ↗ CPU 2024-Q1 Oracle Financial Services Applications / Common Core (Spring Security) (14.5.0-14.7.0)
Oracle Critical Patch Update July 2023 ↗ CPU 2023-Q3 Oracle Communications Applications / Vision (Spring Security) (5.5.0-5.5.17, 6.0.0-6.0.2)
Oracle Financial Services Applications / Common (Spring Security) (14.5.0.8.0, 14.6.0.4.0, 14.7.0.2.0, 14.7.1.0.0)
Oracle Financial Services Applications / Dashboard (Spring Security) (14.5.0.8.0, 14.6.0.4.0, 14.7.0.2.0, 14.7.1.0.0)
Oracle Financial Services Applications / Security (Spring Security) (14.7.0.2.0, 14.7.1.0.0)
Oracle Critical Patch Update April 2023 ↗ CPU 2023-Q2 Oracle Communications / Authentication (Spring Security) (9.0.0, 9.0.1)
Oracle Communications / Authentication (Spring Security) (9.0.0, 9.0.1)
Oracle Communications / Internal tools (Spring Security) (9.1.1.4.0)
Oracle Critical Patch Update January 2023 ↗ CPU 2023-Q1 Oracle Communications / Configuration (Spring Security) (22.3.0)
Oracle Communications / Configuration (Spring Security) (22.3.1)
Oracle Communications / Installation (Spring Security crypto) (22.3.2)
Oracle Communications / Platform (Spring Security) (22.3.1)
Oracle Communications / Policy (Spring Security) (22.3.0)
Oracle Communications Applications / REST API (Spring Security) (7.4.0, 7.4.1, 7.4.2)
Oracle MySQL / Monitoring: General (Spring Security) (8.0.32 and prior)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications Authentication (Spring Security) 9.0.0, 9.0.1 9.0.0 · 9.0.1
Oracle Communications Configuration (Spring Security) 22.3.0 22.3.0 · 22.3.1
Oracle Communications Installation (Spring Security crypto) 22.3.2 22.3.2
Oracle Communications Internal tools (Spring Security) 9.1.1.4.0 9.1.1.4.0
Oracle Communications Platform (Spring Security) 22.3.1 22.3.1
Oracle Communications Policy (Spring Security) 22.3.0 22.3.0
Oracle Communications Applications REST API (Spring Security) 7.4.0, 7.4.1, 7.4.2 7.4.0 · 7.4.1 · 7.4.2
Oracle Communications Applications Vision (Spring Security) 5.5.0-5.5.17, 6.0.0-6.0.2
Oracle Financial Services Applications Common (Spring Security) 14.5.0.8.0, 14.6.0.4.0, 14.7.0.2.0, 14.7.1.0.0 14.5.0.8.0 · 14.6.0.4.0 · 14.7.0.2.0 · 14.7.1.0.0
Oracle Financial Services Applications Common Core (Spring Security) 14.5.0-14.7.0
Oracle Financial Services Applications Dashboard (Spring Security) 14.5.0.8.0, 14.6.0.4.0, 14.7.0.2.0, 14.7.1.0.0 14.5.0.8.0 · 14.6.0.4.0 · 14.7.0.2.0 · 14.7.1.0.0
Oracle Financial Services Applications Security (Spring Security) 14.7.0.2.0, 14.7.1.0.0 14.7.0.2.0 · 14.7.1.0.0
Oracle MySQL Monitoring: General (Spring Security) 8.0.32 and prior

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework.security:spring-security-core 5.7.0 5.7.5 unbounded
org.springframework.security:spring-security-core 5.6.0 5.6.9 unbounded

Products and versions

3 products, 5 version entries
SourceVendorProductSchemeAffected versions
nvd netapp active iq unified manager generic any version
osv org.springframework.security spring-security-core generic ≥ 5.6.0 and < 5.6.9 · ≥ 5.7.0 and < 5.7.5
nvd vmware spring security generic ≥ 5.6.0 and < 5.6.9 · ≥ 5.7.0 and < 5.7.5

References

URLTags
https://github.com/spring-projects/spring-security PACKAGE
https://security.netapp.com/advisory/ntap-20221215-0010 WEB
https://tanzu.vmware.com/security/cve-2022-31692 WEB
https://security.netapp.com/advisory/ntap-20221215-0010/ Third Party Advisory

Timeline

Published2022-10-31By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.