SCA: security update for org.springframework.security:spring-security-oauth2-client (GHSA-32vj-v39g-jh23)

high Tenable Self-Hosted Container Security Plugin ID 409219

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-31690)

See Also

https://github.com/advisories/GHSA-32vj-v39g-jh23

Plugin Details

Severity: High

ID: 409219

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.15

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2022-31690

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 11/1/2022

Vulnerability Publication Date: 10/31/2022

Reference Information

CVE: CVE-2022-31690

cwe: CWE-269