spring-projects/spring-security · Security

Spring Framework has Authorization Bypass for Case Sensitive Comparisons

GHSA ID
GHSA-q3v6-hm2v-pw99
CVE ID
CVE-2024-38827
Severity
medium
Published
Updated
CVSS
4.8 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS v3
4.8 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS v4
6.3 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Description

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

CWEs

References