{"id":"CVE-2021-22118","aliases":["GHSA-gfwj-fwqj-fp3v"],"url":"https://o3.security/vulnerability/CVE-2021-22118","summary":"Improper Privilege Management in Spring Framework","details":"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.","published":"2021-05-27T15:15:07.437Z","modified":"2026-07-08T05:56:52.732944068Z","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.springframework:spring-web","fixedVersion":"5.2.15"},{"ecosystem":"Maven","name":"org.springframework:spring-web","fixedVersion":"5.3.7"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210713-0005/"},{"type":"ADVISORY","url":"https://tanzu.vmware.com/security/cve-2021-22118"},{"type":"FIX","url":"https://www.oracle.com//security-alerts/cpujul2021.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpujan2022.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:56:52.732944068Z"}}