CVE-2021-22118
publishedspring-web: (re)creating the temporary storage directory could result in a privilege escalation within WebFlux application
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | Spring FrameworkSpring Framework versions 5.2.x prior to 5.2.15 and versions 5.3.x prior to 5.3.7 | Affected | Not stated | vmware |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| 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 (affected) | vmware · cna |
Weaknesses
1- CWE-269 CWE-269: Improper Privilege Management
References
7- 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
Provider assertions
2vmware · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 09b5ebfb993f71eead61b8424db6cfa3877eabaf7dd8154cacaaf04a63c1b831
- Ingested
- 23 Sep 2026, 07:52:37 UTC
- Source record
- Official CVE record