ADVISORIES

Vulnerability

CVE-2022-31690

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.

3 advisories report this vulnerability, across 3 ecosystems.

High severity All Maven 1Red Hat 1Ubuntu 1

Advisories

  • GHSA-32vj-v39g-jh23

    spring-security-oauth2-client vulnerable to Privilege Escalation

    High CVE-2022-31690 Maven Updated 17 February 2024
  • RHSA-2023:1655

    Red Hat Security Advisory: OpenShift Container Platform 4.10.56 security update

    CVE-2022-31690CVE-2022-31692CVE-2022-3172CVE-2022-42889 Red Hat Updated 24 November 2026
  • UBUNTU-CVE-2022-31690

    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…

    CVE-2022-31690 Ubuntu Updated 17 October 2026

References