SecurityContext

CVE-2022-31690: Spring Security - Privilege Escalation

  • Cve: CVE-2022-31690
  • Name: Spring Security - Privilege Escalation
  • 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.
  • Impact: Attackers can escalate privileges by manipulating OAuth2 token responses, potentially gaining unauthorized access to protected resources.
  • Remediation: Update to version 5.7.5, 5.6.9, or later versions.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01259
  • Epss percentile: 0.70197
  • Assignee: [email protected]
  • Published at: 2022-10-31T20:15:12Z
  • Age in days: 1485
  • Modified at: 2026-06-17T04:46:05Z
  • Patch available: yes
  • References total: 2
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-31690
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
NVD-CWE-noinfo—

References

UrlSourceTags
https://tanzu.vmware.com/security/cve-2022-31690nvdMitigation, Vendor Advisory
https://security.netapp.com/advisory/ntap-20221215-0010/nvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
vmware:spring_security>= 5.7.0, < 5.7.5; >= 5.6.0, < 5.6.9nonvd/v1/products/vmware/spring_security
netapp:active_iq_unified_managerall versionsnonvd/v1/products/netapp/active_iq_unified_manager

Projects

RepositoryLink kindsIndexedUrl
spring-projects/spring-securityproductyes/v1/repositories/spring-projects/spring-security

Index

  • Repositories: 32
  • Repositories high signal: 25
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts