Skip to content

Concurrent Execution using Shared Resource with Improper Synchronization in Spring Security

Moderate severity GitHub Reviewed Published May 17, 2022 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

maven org.springframework.security:spring-security-core (Maven)

Affected versions

< 2.0.7
>= 3.0.0, < 3.0.6

Patched versions

2.0.7
3.0.6

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.

References

Published by the National Vulnerability Database Dec 5, 2012
Published to the GitHub Advisory Database May 17, 2022
Reviewed Jul 13, 2022
Last updated Jan 27, 2023

Severity

Moderate

EPSS score

0.279%
(69th percentile)

Weaknesses

CVE ID

CVE-2011-2731

GHSA ID

GHSA-4644-hg35-55m9
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.