high7.8
CVE-2021-22118
Improper Privilege Management in Spring Framework
Impact
In Spring Framework, versions 5.2.x prior to 5.2.15 and versions 5.3.x prior to 5.3.7, a WebFlux application is vulnerable to a privilege escalation: by (re)creating the temporary storage directory, a locally authenticated malicious user can read or modify files that have been uploaded to the WebFlux application, or overwrite arbitrary files with multipart request data.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.springframework:spring-web | >= 5.2.0, <= 5.2.14 | 5.2.15 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Vmware | Spring Framework | from 5.2.0 before 5.2.15 from 5.3.0 before 5.3.7 |
| Oracle | Commerce Guided Search | Version 11.3.2 |
| Oracle | Communications Brm - Elastic Charging Engine | Version 12.0.0.3 |
| Oracle | Communications Cloud Native Core Binding Support Function | Version 1.9.0 |
| Oracle | Communications Cloud Native Core Policy | Version 1.14.0 |
| Oracle | Communications Cloud Native Core Security Edge Protection Proxy | Version 1.6.0 |
| Oracle | Communications Cloud Native Core Service Communication Proxy | Version 1.14.0 |
| Oracle | Communications Cloud Native Core Unified Data Repository | Version 1.14.0 |
| Oracle | Communications Diameter Intelligence Hub | from 8.0.0 through 8.1.0 from 8.2.0 through 8.2.3 |
| Oracle | Communications Element Manager | from 8.2.0 through 8.2.4.0 |
| Oracle | Communications Interactive Session Recorder | Version 6.4 |
| Oracle | Communications Network Integrity | Version 7.3.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://security.netapp.com/advisory/ntap-20210713-0005/
- https://tanzu.vmware.com/security/cve-2021-22118
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://github.com/advisories/GHSA-gfwj-fwqj-fp3v
- https://nvd.nist.gov/vuln/detail/CVE-2021-22118
- https://github.com/spring-projects/spring-framework/issues/26931
- https://github.com/spring-projects/spring-framework/commit/0d0d75e25322d8161002d861fff3ec04ba8be5ac
- https://github.com/spring-projects/spring-framework/commit/cce60c479c22101f24b2b4abebb6d79440b120d1
- https://spring.io/security/cve-2021-22118