Live threats

All CVEs / pivotal_software

CVE-2024-22257pivotal_software spring_security

High 8.2 No auth needed

Priority
64
CVSS 3.1
8.2
EPSS
1.0%
probability of exploitation in 30 days · percentile 60
Auth required
No
Published
Mar 18, 2024
Updated
Jun 30, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for spring_security.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.springframework.security:spring-security-core < 5.7.12 5.7.12 —
Maven org.springframework.security:spring-security-core ≥ 5.8.0 < 5.8.11 5.8.11 —
Maven org.springframework.security:spring-security-core ≥ 6.0.0 < 6.1.8 6.1.8 —
Maven org.springframework.security:spring-security-core ≥ 6.2.0 < 6.2.3 6.2.3 —

Per OSV / GitHub Advisories (GHSA-f3jh-qvm4-mg39). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.