CVE-2011-2731 Concurrent Execution using Shared Resource with Improper Synchronization in Spring Security
A race condition in Spring Security allows attackers to gain privileges by exploiting shared authentication contexts in concurrent threads.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2011-2731?
CVE-2011-2731 is a medium-severity vulnerability in n/a, published on 5 Dec 2012. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Race condition in the RunAsManager mechanism in VMware SpringSource Spring Security before 2.0.7 and 3.0.x before 3.0.6 stores the Authentication object in the shared security context, which allows attackers to gain privileges via a crafted thread.
Weakness: CWE-362
Which versions are affected by CVE-2011-2731?
4 open source packages ship an affected version, including org.springframework.security:spring-security-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.springframework.security:spring-security-core Maven | All versions | 2.0.7 |
org.springframework.security:spring-security-core Maven | All versions | 2.0.7 |
org.springframework.security:spring-security-core Maven | From 3.0.0 | 3.0.6 |
org.springframework.security:spring-security-core Maven | From 3.0.0 | 3.0.6 |
Products include Vmware Springsource Spring Security.
How do I fix CVE-2011-2731?
Upgrade org.springframework.security:spring-security-core to a fixed version for your release line: 2.0.7 or 3.0.6.
Is CVE-2011-2731 being exploited?
There is no known exploitation of CVE-2011-2731 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-4644-hg35-55m9.