spring-projects/spring-framework · Security
Improper Privilege Management in Spring Framework
- GHSA ID
- GHSA-gfwj-fwqj-fp3v
- CVE ID
- CVE-2021-22118
- Severity
- high
- Published
- Updated
- CVSS
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
CWEs
- CWE-269 · Improper Privilege Management
- CWE-668 · Exposure of Resource to Wrong Sphere
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-22118 ↗
- 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/cpuoct2021.html ↗
- https://www.oracle.com/security-alerts/cpujul2022.html ↗
- 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 ↗
- https://github.com/advisories/GHSA-gfwj-fwqj-fp3v ↗