Medium

Improper Control of Generation of Code in Spring Security

  • Disclosed: 17.05.2022
  • Updated: 11.10.2026 12:21

CRLF injection vulnerability in the logout functionality in VMware SpringSource Spring Security before 2.0.7 and 3.0.x before 3.0.6 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via the spring-security-redirect parameter.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.springframework.security:spring-security-core < 2.0.7, >= 3.0.0, < 3.0.6 2.0.7, 3.0.6

References

CVSS score -
Weakness (CWE)
CWE-94
Platform
Java / Kotlin (Maven)
Package
org.springframework.security:spring-security-core
Disclosed
17.05.2022
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-5xm9-rf63-wj7h - CC BY 4.0

Vulnerability history: org.springframework.security:spring-security-core

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (31) in the archive
Total entries
31
First → latest
10.2018 04.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 4
  • High 11
  • Medium 15
  • Low 1

Disclosures per year

  1. 2018: 3
  2. 2019: 2
  3. 2020: 4
  4. 2021: 1
  5. 2022: 10
  6. 2023: 1
  7. 2024: 4
  8. 2025: 3
  9. 2026: 3
Severity:
  1. High · 7.5 CVE-2025-41248 >= 6.4.0, < 6.4.10, >= 6.5.0, < 6.5.4 6.4.10, 6.5.4
  2. High · 8.2 CVE-2024-22257 < 5.7.12, >= 5.8.0, < 5.8.11, >= 6.0.0, < 6.1.8, >= 6.2.0, < 6.2.3 5.7.12, 5.8.11, 6.1.8, 6.2.3
  3. High · 7.4 CVE-2024-22234 >= 6.1.0, < 6.1.7, >= 6.2.0, < 6.2.2 6.1.7, 6.2.2
  4. Critical · 9.8 CVE-2022-31692 >= 5.7.0, < 5.7.5, >= 5.6.0, < 5.6.9 5.7.5, 5.6.9
  5. Critical · 9.8 CVE-2022-22978 >= 5.5.0, < 5.5.7, >= 5.6.0, < 5.6.4, < 5.4.11 5.5.7, 5.6.4, 5.4.11
  6. Improper Control of Generation of Code in Spring Security this entry
    Medium CVE-2011-2732 < 2.0.7, >= 3.0.0, < 3.0.6 2.0.7, 3.0.6
  7. High · 8.1 CVE-2017-4995 >= 4.2.0.RELEASE, < 4.2.3.RELEASE, >= 5.0.0.M1, < 5.0.0.M2 4.2.3.RELEASE, 5.0.0.M2
  8. High · 7.3 CVE-2014-0097 >= 3.2.0, < 3.2.2.RELEASE, >= 3.1.0, < 3.1.5.RELEASE 3.2.2.RELEASE, 3.1.5.RELEASE
  9. High · 7.5 CVE-2021-22119 >= 5.5.0, < 5.5.1, >= 5.4.0, < 5.4.7, >= 5.3.0, < 5.3.10, >= 5.2.0, < 5.2.11 5.5.1, 5.4.7, 5.3.10, 5.2.11
  10. High · 7.5 CVE-2016-9879 < 3.2.10.RELEASE, >= 4.0.0.RELEASE, < 4.1.4.RELEASE, >= 4.2.0.RELEASE, < 4.2.1.RELEASE 3.2.10.RELEASE, 4.1.4.RELEASE, 4.2.1.RELEASE
  11. Critical · 9.8 CVE-2014-3527 < 3.1.7, >= 3.2.0, < 3.2.5 3.1.7, 3.2.5
  12. High · 8.8 CVE-2020-5407 >= 5.2.0, < 5.2.4, >= 5.3.0, < 5.3.2 5.2.4, 5.3.2
  13. High · 7.4 CVE-2018-15801 >= 5.1.0, < 5.1.2 5.1.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.