GitHub Advisory Database
GHSA-rrpm-pj7p-7j9q
Spring Security OAuth vulnerable to remote code execution (RCE)
Details
Spring Security OAuth versions prior to 2.3.3, prior to 2.2.2, prior to 2.1.2, and prior to 2.0.15 contain a remote code execution vulnerability. An attacker can craft an authorization request to the authorization endpoint that can lead to remote code execution when the resource owner is forwarded to the approval endpoint.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.security.oauth:spring-security-oauth2 | From 2.3.0 before 2.3.3 (fixed in 2.3.3) |
| Maven | org.springframework.security.oauth:spring-security-oauth2 | From 2.2.0 before 2.2.2 (fixed in 2.2.2) |
| Maven | org.springframework.security.oauth:spring-security-oauth2 | From 2.1.0 before 2.1.2 (fixed in 2.1.2) |
| Maven | org.springframework.security.oauth:spring-security-oauth2 | From 2.0.0 before 2.0.15 (fixed in 2.0.15) |
| Maven | org.springframework.security.oauth:spring-security-oauth2 | From 1.0.0 up to and including 1.0.5 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1260
- https://access.redhat.com/errata/RHSA-2018:1809
- https://access.redhat.com/errata/RHSA-2018:2939
- https://github.com/advisories/GHSA-rrpm-pj7p-7j9q
- https://github.com/spring-attic/spring-security-oauth
- https://pivotal.io/security/cve-2018-1260
- https://web.archive.org/web/20200227123539/http://www.securityfocus.com/bid/104158