Improper Privilege Management The advisory has been revoked - it doesn't affect any version of package spring-security-oauth2-client  (opens in a new tab)


Threat Intelligence

EPSS
1.26% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-SPRINGSECURITYOAUTH2CLIENT-3375301
  • published26 Mar 2023
  • disclosed31 Oct 2022

Introduced: 31 Oct 2022

CVE-2022-31690  (opens in a new tab)
CWE-269  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:7.

NVD Description

Note: Versions mentioned in the description apply only to the upstream spring-security-oauth2-client package and not the spring-security-oauth2-client package as distributed by RHEL.

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.