Vulnerability · Published Mar 18, 2024 · Assigned by vmware

CVE-2024-22257

High 8.2

In plain English

A high-severity missing authorization in Spring Security. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.2High
Exploit odds (30 days)1.0%top 38.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.springframework.security:spring-security-core5.7.12GHSA-f3jh-qvm4-mg39
Mavenorg.springframework.security:spring-security-core5.8.11GHSA-f3jh-qvm4-mg39
Mavenorg.springframework.security:spring-security-core6.1.8GHSA-f3jh-qvm4-mg39
Mavenorg.springframework.security:spring-security-core6.2.3GHSA-f3jh-qvm4-mg39

Affected products (as reported)

VendorProductVersions
N/A Spring Security 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: CWE-862 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

References