CVE-2018-1273
spring-data-commons: Improper neutralization of special elements allow remote attackers to execute code via crafted requests
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Red Hat.
Description
Spring Data Commons, versions prior to 1.13 to 1.13.10, 2.0 to 2.0.5, and older unsupported versions, contain a property binder vulnerability caused by improper neutralization of special elements. An unauthenticated remote malicious user (or attacker) can supply specially crafted request parameters against Spring Data REST backed HTTP resources or using Spring Data's projection-based request payload binding hat can lead to a remote code execution attack.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.springframework.data:spring-data-commons | 1.13.11, 2.0.6 |
References
- http://mail-archives.apache.org/mod_mbox/ignite-dev/201807.mbox/%3CCAK0qHnqzfzmCDFFi6c5Jok19zNkVCz5Xb4sU=0f2J_1i4p46zQ@mail.gmail.com%3E
- https://access.redhat.com/security/cve/CVE-2018-1273
- https://github.com/advisories/GHSA-4fq3-mr56-cg6r
- https://github.com/spring-projects/spring-data-commons
- https://github.com/spring-projects/spring-data-commons/commit/ae1dd2741ce06d44a0966ecbd6f47beabde2b653
- https://github.com/spring-projects/spring-data-commons/commit/b1a20ae1e82a63f99b3afc6f2aaedb3bf4dc432a
- https://github.com/spring-projects/spring-data-commons/issues/1721
- https://nvd.nist.gov/vuln/detail/CVE-2018-1273