GitHub Advisory Database
GHSA-4644-hg35-55m9
Concurrent Execution using Shared Resource with Improper Synchronization in Spring Security
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.security:spring-security-core | All versions before 2.0.7 (fixed in 2.0.7) |
| Maven | org.springframework.security:spring-security-core | From 3.0.0 before 3.0.6 (fixed in 3.0.6) |