cve.bz

CVE-2022-31690

8.1 highEPSS 1.3%Fix available

High (8.1). EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.security:spring-security-oauth2-client 5.6.9, 5.7.5.

On this page
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

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.3% (unchanged from 1.2% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 70th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-05-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-31690 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-31690?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-31690?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-31690 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
vmware:spring_securityfrom 5.6.0 before 5.6.9
vmware:spring_securityfrom 5.7.0 before 5.7.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-32vj-v39g-jh23Mavenorg.springframework.security:spring-security-oauth2-client>=5.7.0 <5.7.55.7.5
GHSA-32vj-v39g-jh23Mavenorg.springframework.security:spring-security-oauth2-client<5.6.95.6.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu25.10, 26.04:LTS, 26.10 and 6 morelibspring-javano fix listedUBUNTU-CVE-2022-31690
Red Hatopenshift:4.10::el7openshift, openshift-hyperkube0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7RHSA-2023:1655
Red Hatopenshift:4.10::el8haproxy, haproxy22, haproxy-debugsource and 1 more0:2.2.19-4.el8RHSA-2023:1655
Red Hatopenshift:4.10::el8jenkins0:2.387.1.1680701869-1.el8RHSA-2023:1655
Red Hatopenshift:4.10::el8jenkins-2-plugins0:4.10.1680703106-1.el8RHSA-2023:1655
Red Hatopenshift:4.10::el8openshift, openshift-hyperkube0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el8RHSA-2023:1655

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Integration Camel-K, Camel-Quarkus, and Camel-SpringBoot do not directly use or ship the affected software, but do have references to it in their Maven POMs. As such their impact has been reduced to Low.

ProductPackageStateAdvisory
Migration Toolkit for Runtimes 1 on RHEL 8org.keycloak-keycloak-spring-security-adapterFixed 2023-03-16RHSA-2023:1285
Migration Toolkit for Runtimes 1 on RHEL 8org.springframework.security-spring-security-coreFixed 2023-03-16RHSA-2023:1285
Migration Toolkit for Runtimes 1 on RHEL 8mtr/mtr-web-container-rhel8:1.0-22Fixed 2023-03-16RHSA-2023:1286
MTA-6.1-RHEL-8mta/mta-windup-addon-rhel8:6.1.0-11Fixed 2023-04-27RHSA-2023:2041
Red Hat OpenShift Container Platform 4.10jenkins-0:2.387.1.1680701869-1.el8Fixed 2023-04-12RHSA-2023:1655
A-MQ Clients 2spring-security-oauth2-clientNot affected
Migration Toolkit for Runtimesorg.keycloak-keycloak-parentAffected
Migration Toolkit for Runtimesorg.springframework.security-spring-security-cryptoAffected
OpenShift Developer Tools and ServicesjenkinsAffected
Red Hat build of Apache Camel for Spring Boot 3spring-security-oauth2-clientNot affected
Red Hat Data Grid 8spring-security-oauth2-clientNot affected
Red Hat Decision Manager 7spring-security-oauth2-clientNot affected
Red Hat Fuse 7spring-security-oauth2-clientNot affected
Red Hat Integration Camel K 1spring-security-oauth2-clientFix deferred
Red Hat Integration Camel Quarkus 2spring-security-oauth2-clientFix deferred
Red Hat JBoss Data Grid 7spring-security-oauth2-clientNot affected
Red Hat JBoss Enterprise Application Platform 6spring-security-oauth2-clientNot affected
Red Hat JBoss Enterprise Application Platform 7spring-security-oauth2-clientNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packspring-security-oauth2-clientNot affected
Red Hat JBoss Fuse 6spring-security-oauth2-clientNot affected
3 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-31690.

References

Check your stackJSON