CVE-2024-38827
JSON

4.8medium

Spring Security Authorization Bypass for Case Sensitive Comparisons

Severity
4.8medium CVSS:3.1 by vmware
Exploit likelihood
0.38% (higher than 33% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
vmware
Also known as
GHSA-q3v6-hm2v-pw99

Description

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

Affected

Product or packageVersionsReported by
Spring by VMware Tanzu Spring Security5.7.0 - 5.7.13, 5.8.0 - 5.8.15, 6.0.0 - 6.0.13, 6.1.0 - 6.1.11, 6.2.0 - 6.2.7, 6.3.0 - 6.3.4, Older unsupported versions are also affectedCVE List
org.springframework.security:spring-security-core (Maven)before 5.7.14, from 5.8.0 before 5.8.16, from 6.0.0 before 6.0.14, from 6.1.0 before 6.1.12, from 6.2.0 before 6.2.8, from 6.3.0 before 6.3.5GitHub Advisory Database

All scores

vmware4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
GitHub4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Classification

CWE-639

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

NVD (es)

El uso de String.toLowerCase() y String.toUpperCase() tiene algunas excepciones dependientes de la configuración regional que podrían provocar que las reglas de autorización no funcionen correctamente.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-38827 changed 2025-01-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-q3v6-hm2v-pw99 changed 2026-09-10CC-BY-4.0
NVDCVE-2024-38827 changed 2026-06-17Public domain