Auth bypass in Spring Security

CVE-2024-22257

In Spring Security, versions 5.7.x prior to 5.7.12, 5.8.x prior to
5.8.11, versions 6.0.x prior to 6.0.9, versions 6.1.x prior to 6.1.8,
versions 6.2.x prior to 6.2.3, an application is possible vulnerable to
broken access control when it directly uses the AuthenticatedVoter#vote passing a null Authentication parameter.

Vulnerability class: Broken Access Control

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N.

EPSS exploit prediction

EPSS 0.010, 62.0th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Spring Security — versions 6.2.0 to 6.2.2, 6.1.0 to 6.1.7, 6.0.0 to 6.0.9, 5.8.0 to 5.8.10, 5.7.0 to 5.7.11

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 3 other repositories (CllmsyK/YYBaby-Spring_Scan, fkie-cad/nvd-json-data-feeds, NaInSec/CVE-LIST). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References