CVE-2011-2732 — spring-security-core
CVE-2011-2732 is a Code Injection vulnerability in org.springframework.security:spring-security-core. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for org.springframework.security:spring-security-core — see the affected versions and patch details below.
Improper Control of Generation of Code in Spring Security
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.springframework.security:spring-security-core☕org.springframework.security:spring-security-coreReal-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
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.springframework.security:spring-security-core | all versions | 2.0.7org.springframework.security:spring-security-core:2.0.7 |
| ☕Maven | org.springframework.security:spring-security-core | ≥ 3.0.0&&< 3.0.6 | 3.0.6org.springframework.security:spring-security-core:3.0.6 |
Affected Products
springsource spring securityvmwareResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Spring Security - HTTP Header Injection
by David Mas · Sep 9, 2011
Detection & mitigation playbook
Open-source dependencyDetect
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.
Fix
Update org.springframework.security:spring-security-core to 2.0.7 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2011-2732 is resolved across your whole dependency graph.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
Frequently Asked Questions
Is CVE-2011-2732 in your dependencies?
Find it across Maven, including transitive dependencies.