Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework/spring-context
  4. ›
  5. CVE-2024-38827

CVE-2024-38827: Spring Framework has Authorization Bypass for Case Sensitive Comparisons

December 2, 2024

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

References

  • github.com/advisories/GHSA-q3v6-hm2v-pw99
  • github.com/spring-projects/spring-framework
  • github.com/spring-projects/spring-framework/commit/11d4272ff48b4a4dabc4b28dfbff0364a4204bc9
  • github.com/spring-projects/spring-framework/issues/33708
  • nvd.nist.gov/vuln/detail/CVE-2024-38827
  • spring.io/security/cve-2024-38827

Code Behaviors & Features

Detect and mitigate CVE-2024-38827 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.1.14

Fixed versions

  • 6.1.14

Solution

Upgrade to version 6.1.14 or above.

Impact 4.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

maven/org.springframework/spring-context/CVE-2024-38827.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:52 +0000.