VDB
Sign up
MEDIUM

GHSA-4644-hg35-55m9

Concurrent Execution using Shared Resource with Improper Synchronization in Spring Security

Quick fix

GHSA-4644-hg35-55m9 — org.springframework.security:spring-security-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.0.7</version> for org.springframework.security:spring-security-core

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.springframework.security:spring-security-core
Introduced in: 0Fixed in: 2.0.7
Fix# pom.xml: bump <version>2.0.7</version> for org.springframework.security:spring-security-core
Maven/org.springframework.security:spring-security-core
Introduced in: 3.0.0Fixed in: 3.0.6
Fix# pom.xml: bump <version>3.0.6</version> for org.springframework.security:spring-security-core

References