CVE-2021-22118
JSON

7.8high

Improper Privilege Management in Spring Framework

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.38% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
vmware
Also known as
GHSA-gfwj-fwqj-fp3v

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.

Affected

Product or packageVersionsReported by
Spring FrameworkSpring Framework versions 5.2.x prior to 5.2.15 and versions 5.3.x prior to 5.3.7CVE List
org.springframework:spring-web (Maven)from 5.2.0 before 5.2.15, from 5.3.0 before 5.3.7GitHub Advisory Database
vmware spring_frameworkfrom 5.2.0 before 5.2.15, from 5.3.0 before 5.3.7NVD
oracle commerce_guided_search11.3.2NVD
oracle communications_brm_-_elastic_charging_engine12.0.0.3NVD
oracle communications_cloud_native_core_binding_support_function1.9.0NVD
oracle communications_cloud_native_core_policy1.14.0NVD
oracle communications_cloud_native_core_security_edge_protection_proxy1.6.0NVD
oracle communications_cloud_native_core_service_communication_proxy1.14.0NVD
oracle communications_cloud_native_core_unified_data_repository1.14.0NVD
oracle communications_diameter_intelligence_hubfrom 8.0.0 up to 8.1.0, from 8.2.0 up to 8.2.3NVD
oracle communications_element_managerfrom 8.2.0 up to 8.2.4.0NVD

All scores

GitHub7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD4.6medium CVSS:2.0AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

En Spring Framework, versiones 5.2.x anteriores a 5.2.15 y versiones 5.3.x anteriores a 5.3.7, una aplicación WebFlux es vulnerable a una escalada de privilegios: al (re)crear el directorio de almacenamiento temporal, un usuario malicioso autenticado localmente puede leer o modificar archivos que han sido subidos a la aplicación WebFlux, o sobrescribir archivos arbitrarios con petición de datos de múltiples partes

References

https://tanzu.vmware.com/security/cve-2021-22118third-party-advisory, web
https://www.oracle.com//security-alerts/cpujul2021.htmlpatch, third-party-advisory, web
https://security.netapp.com/advisory/ntap-20210713-0005/third-party-advisory
https://www.oracle.com/security-alerts/cpuoct2021.htmlpatch, third-party-advisory, web
https://www.oracle.com/security-alerts/cpujan2022.htmlpatch, third-party-advisory, web
https://www.oracle.com/security-alerts/cpuapr2022.htmlpatch, third-party-advisory, web
https://www.oracle.com/security-alerts/cpujul2022.htmlpatch, third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2021-22118advisory
https://github.com/spring-projects/spring-framework/issues/26931web
https://github.com/spring-projects/spring-framework/commit/0d0d75e25322d8161002d861fff3ec04ba8be5acweb
https://github.com/spring-projects/spring-framework/commit/cce60c479c22101f24b2b4abebb6d79440b120d1web
https://github.com/spring-projects/spring-frameworkpackage

Sources

SourceRecordLicence
CVE ListCVE-2021-22118 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-gfwj-fwqj-fp3v changed 2024-02-20CC-BY-4.0
NVDCVE-2021-22118 changed 2026-06-17Public domain