Vulnerability · Published May 27, 2021 · Assigned by vmware
CVE-2021-22118
High 7.8
In plain English
A high-severity privilege mismanagement in Spring Framework. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.springframework:spring-web | 5.2.15 | GHSA-gfwj-fwqj-fp3v |
| Maven | org.springframework:spring-web | 5.3.7 | GHSA-gfwj-fwqj-fp3v |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | Spring Framework | Spring Framework versions 5.2.x prior to 5.2.15 and versions 5.3.x prior to 5.3.7 |
Weakness: CWE-269
References
- https://tanzu.vmware.com/security/cve-2021-22118 x_refsource_MISC
- https://www.oracle.com//security-alerts/cpujul2021.html x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210713-0005/ x_refsource_CONFIRM
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC