Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.security/spring-security-core
  4. ›
  5. CVE-2011-2731

CVE-2011-2731: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

May 17, 2022 (updated July 13, 2022)

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

  • bugs.debian.org/cgi-bin/bugreport.cgi?bug=677814
  • support.springsource.com/security/cve-2011-2731
  • github.com/advisories/GHSA-4644-hg35-55m9
  • nvd.nist.gov/vuln/detail/CVE-2011-2731

Code Behaviors & Features

Detect and mitigate CVE-2011-2731 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.0.7, all versions starting from 3.0.0 before 3.0.6

Fixed versions

  • 2.0.7
  • 3.0.6

Solution

Upgrade to versions 2.0.7, 3.0.6 or above.

Impact 5.1 MEDIUM

AV:N/AC:H/Au:N/C:P/I:P/A:P

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

maven/org.springframework.security/spring-security-core/CVE-2011-2731.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:24 +0000.