Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework/spring-core
  4. ›
  5. CVE-2021-22118

CVE-2021-22118: Improper Privilege Management

May 24, 2022 (updated June 22, 2022)

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.

References

  • github.com/advisories/GHSA-gfwj-fwqj-fp3v
  • nvd.nist.gov/vuln/detail/CVE-2021-22118
  • security.netapp.com/advisory/ntap-20210713-0005/
  • tanzu.vmware.com/security/cve-2021-22118
  • www.oracle.com//security-alerts/cpujul2021.html
  • www.oracle.com/security-alerts/cpuapr2022.html
  • www.oracle.com/security-alerts/cpujan2022.html
  • www.oracle.com/security-alerts/cpuoct2021.html

Code Behaviors & Features

Detect and mitigate CVE-2021-22118 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 5.2.0 up to 5.2.14, all versions starting from 5.3.0 up to 5.3.6

Fixed versions

  • 5.2.15
  • 5.3.7

Solution

Upgrade to versions 5.2.15, 5.3.7 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management

Source file

maven/org.springframework/spring-core/CVE-2021-22118.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:16 +0000.