NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

CVE-2024-38827 — spring-security-core

MEDIUMFix: spring-projects/spring-framework@11d4272

CVE-2024-38827 is a medium-severity (CVSS 4.8) CWE-639 vulnerability in org.springframework.security:spring-security-core. A fix is available for org.springframework.security:spring-security-core — see the affected versions and patch details below.

Spring Framework has Authorization Bypass for Case Sensitive Comparisons

Published
Updated
Affected
6 pkgs
Patched
6 / 6
Exploits
None indexed
Exploitation data as of Nov 7, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2024-38827.

EPSS Exploitation Probability

via FIRST.org ↗
0.4%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs32th percentile — riskier than 32% of all scored CVEsHighest risk
0.00%0.30%0.61%0.91%0.4%0.4%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

6 pkgs affected
☕org.springframework.security:spring-security-core☕org.springframework.security:spring-security-core☕org.springframework.security:spring-security-core☕org.springframework.security:spring-security-core☕org.springframework.security:spring-security-core☕org.springframework.security:spring-security-core

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

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 Packages

6 total 6 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.springframework.security:spring-security-coreall versions5.7.14org.springframework.security:spring-security-core:5.7.14
☕Mavenorg.springframework.security:spring-security-core≥ 5.8.0&&< 5.8.165.8.16org.springframework.security:spring-security-core:5.8.16
☕Mavenorg.springframework.security:spring-security-core≥ 6.0.0&&< 6.0.146.0.14org.springframework.security:spring-security-core:6.0.14
☕Mavenorg.springframework.security:spring-security-core≥ 6.1.0&&< 6.1.126.1.12org.springframework.security:spring-security-core:6.1.12
☕Mavenorg.springframework.security:spring-security-core≥ 6.2.0&&< 6.2.86.2.8org.springframework.security:spring-security-core:6.2.8
☕Mavenorg.springframework.security:spring-security-core≥ 6.3.0&&< 6.3.56.3.5org.springframework.security:spring-security-core:6.3.5

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.springframework.security:spring-security-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.springframework.security:spring-security-core to 5.7.14 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-38827 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

Moderate impact: CVE-2024-38827 affects Red Hat products that include the vulnerable Spring Security core code. In certain locale-sensitive environments, String.toLowerCase() or String.toUpperCase() can perform case conversion differently than authorization comparisons expect, causing authorization rules to be…

Workaround published by Red Hat
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Source: Red Hat security advisory for CVE-2024-38827 (CC BY 4.0)
ProductFixed inAdvisory
OpenShift Developer Tools and Services 4.12ocp-tools-4/jenkins-rhel8:1792044326RHSA-2026:88152
OpenShift Developer Tools and Services 4.13ocp-tools-4/jenkins-rhel8:1792044327RHSA-2026:88149
OpenShift Developer Tools and Services 4.14ocp-tools-4/jenkins-rhel8:1792044382RHSA-2026:88151
OpenShift Developer Tools and Services 4.15ocp-tools-4/jenkins-rhel8:1792044386RHSA-2026:88150
OpenShift Developer Tools and Services 4.16ocp-tools-4/jenkins-rhel9:1792040287RHSA-2026:88156
OpenShift Developer Tools and Services 4.17ocp-tools-4/jenkins-rhel9:1792040131RHSA-2026:88159
OpenShift Developer Tools and Services 4.18ocp-tools-4/jenkins-rhel9:1792041514RHSA-2026:88153
OpenShift Developer Tools and Services 4.19ocp-tools-4/jenkins-rhel9:1792040733RHSA-2026:88158

Frequently Asked Questions

The usage of String.toLowerCase() and String.toUpperCase() has some Locale dependent exceptions that could potentially result in authorization rules not working properly.
O3 Security · Impact-Aware SCA

Is CVE-2024-38827 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2024-38827: spring-security-core — Fixed in 5.7.14