CVE-2022-31690

Description

Spring Security, versions 5.7 prior to 5.7.5, and 5.6 prior to 5.6.9, and older unsupported versions could be susceptible to a privilege escalation under certain conditions. A malicious user or attacker can modify a request initiated by the Client (via the browser) to the Authorization Server which can lead to a privilege escalation on the subsequent approval. This scenario can happen if the Authorization Server responds with an OAuth2 Access Token Response containing an empty scope list (per RFC 6749, Section 5.1) on the subsequent request to the token endpoint to obtain the access token.

Severity
HIGH
CVSS v3
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
1.259%
chance of exploitation in the next 30 days
higher than 70.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

CISA SSVC decision points

Exploitationnone
Automatableno
Technical impacttotal
Scored2025-05-08

Timeline

  1. 2022-10-31Published by the CNA00:00 UTC
  2. 2022-11-01GitHub advisory published (GHSA-32vj-v39g-jh23)1 day after publication
  3. 2025-05-08CISA SSVC decision recorded920 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-32vj-v39g-jh23, affected packages:

PackageVulnerable versionsFixed in
Maven org.springframework.security:spring-security-oauth2-clientbefore 5.6.95.6.9
Maven org.springframework.security:spring-security-oauth2-clientfrom 5.7.0 before 5.7.55.7.5

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
vmware spring_securityfrom 5.6.0 before 5.6.9fixed in 5.6.9from 5.7.0 before 5.7.5fixed in 5.7.55.6.95.7.5
netapp active_iq_unified_manager

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources