CVE-2018-1260 — Vulnerability in...
Spring Security OAuth vulnerable to remote code execution (RCE)
Summary
Advisory Timeline
- First published October 18, 2018 (2916 days ago).
- Last revised May 14, 2024 — 2035 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.1.2 for org.springframework.security.oauth:spring-security-oauth2 -->
<!-- Update pom.xml dependency version to 2.2.2 for org.springframework.security.oauth:spring-security-oauth2 -->
<!-- Update pom.xml dependency version to 2.3.3 for org.springframework.security.oauth:spring-security-oauth2 -->
<!-- Update pom.xml dependency version to 2.0.15 for org.springframework.security.oauth:spring-security-oauth2 -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (5)
Affects 1 ecosystem: maven (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.springframework.security.oauth:spring-security-oauth2 | maven | 2.1.0.RELEASE, 2.1.1.RELEASE | 2.1.2 |
| org.springframework.security.oauth:spring-security-oauth2 | maven | 2.2.0.RELEASE, 2.2.1.RELEASE | 2.2.2 |
| org.springframework.security.oauth:spring-security-oauth2 | maven | 1.0.0.RELEASE, 1.0.1.RELEASE, 1.0.2.RELEASE, 1.0.3.RELEASE (+2 more) | Range-based data available |
| org.springframework.security.oauth:spring-security-oauth2 | maven | 2.3.0.RELEASE, 2.3.1.RELEASE, 2.3.2.RELEASE | 2.3.3 |
| org.springframework.security.oauth:spring-security-oauth2 | maven | 2.0.0.RELEASE, 2.0.1.RELEASE, 2.0.10.RELEASE, 2.0.11.RELEASE (+11 more) | 2.0.15 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1260ADVISORY
- https://access.redhat.com/errata/RHSA-2018:1809WEB
- https://access.redhat.com/errata/RHSA-2018:2939WEB
- https://github.com/advisories/GHSA-rrpm-pj7p-7j9qADVISORY
- https://github.com/spring-attic/spring-security-oauthPACKAGE
- https://pivotal.io/security/cve-2018-1260WEB
- https://web.archive.org/web/20200227123539/http://www.securityfocus.com/bid/104158WEB
Frequently Asked Questions
- What is CVE-2018-1260?
- Spring Security OAuth vulnerable to remote code execution (RCE) This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2018-1260?
- CVE-2018-1260 affects org.springframework.security.oauth:spring-security-oauth2. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-1260 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies