VDB

CVE-2021-22118

CVE-2021-22118 PUBLISHED

Improper Privilege Management in Spring Framework

Reported by vmware · Published May 27, 2021

spring-web is fixed in 5.3.7 and 5.2.15 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.springframework:spring-webMaven Central5.3.7, 5.2.15
org.springframework:spring-coreMaven Central5.3.6, 5.2.14
communications_element_manageroracle8.2.4.0
retail_customer_management_and_segmentation_foundationoracle19.0
insurance_policy_administrationoracle11.3.1
financial_services_analytical_applications_infrastructureoracle8.1.1
mysql_enterprise_monitororacle8.0.25
communications_session_report_manageroracle8.2.4.0
documakeroracle12.6.4
communications_session_route_manageroracle8.2.4.0
communications_diameter_intelligence_huboracle8.2.3, 8.1.0

Affected products

VendorProductVersions
n/aSpring FrameworkSpring Framework versions 5.2.x prior to 5.2.15 and versions 5.3.x prior to 5.3.7
n/aSpring Framework5.2.x

Timeline

  • May 27, 2021 CVE Published
  • May 28, 2021 EPSS Score (30 in total, the first dated here)
  • May 28, 2021 PoC Published (21 in total, the first dated here)
  • Jun 1, 2026 Security Advisory (10 in total, the first dated here)
  • Aug 9, 2026 Distribution Patch (8 in total, the first dated here)
  • Aug 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-22118
vulnetix vdb fixes CVE-2021-22118

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-22118/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_CONFIRM
  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›