CVE-2021-22118
HIGH 7.8CVSS 3.1Improper Privilege Management in Spring Framework
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
- 27 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security@vmware.com
- NVD status
- Modified
- Weakness
- CWE-269CWE-668
- Also known as
- GHSA-gfwj-fwqj-fp3v
- Sources
- NVDJSONOSV GHSA-gfwj-fwqj-fp3vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 5.2.0, < 5.2.15 | 5.2.15 |
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 5.3.0, < 5.3.7 | 5.3.7 |
| NVD | oracle | commerce_guided_searchcpe:2.3:a:oracle:commerce_guided_search:11.3.2:*:*:*:*:*:*:* |
= 11.3.2 | |
| NVD | oracle | communications_brm_-_elastic_charging_enginecpe:2.3:a:oracle:communications_brm_-_elastic_charging_engine:12.0.0.3:*:*:*:*:*:*:* |
= 12.0.0.3 | |
| NVD | oracle | communications_cloud_native_core_binding_support_functioncpe:2.3:a:oracle:communications_cloud_native_core_binding_support_function:1.9.0:*:*:*:*:*:*:* |
= 1.9.0 | |
| NVD | oracle | communications_cloud_native_core_policycpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:* |
= 1.14.0 | |
| NVD | oracle | communications_cloud_native_core_security_edge_protection_proxycpe:2.3:a:oracle:communications_cloud_native_core_security_edge_protection_proxy:1.6.0:*:*:*:*:*:*:* |
= 1.6.0 | |
| NVD | oracle | communications_cloud_native_core_service_communication_proxycpe:2.3:a:oracle:communications_cloud_native_core_service_communication_proxy:1.14.0:*:*:*:*:*:*:* |
= 1.14.0 | |
| NVD | oracle | communications_cloud_native_core_unified_data_repositorycpe:2.3:a:oracle:communications_cloud_native_core_unified_data_repository:1.14.0:*:*:*:*:*:*:* |
= 1.14.0 | |
| NVD | oracle | communications_diameter_intelligence_hubcpe:2.3:a:oracle:communications_diameter_intelligence_hub:*:*:*:*:*:*:*:* |
>= 8.0.0, <= 8.1.0 | |
| NVD | oracle | communications_diameter_intelligence_hubcpe:2.3:a:oracle:communications_diameter_intelligence_hub:*:*:*:*:*:*:*:* |
>= 8.2.0, <= 8.2.3 | |
| NVD | oracle | communications_element_managercpe:2.3:a:oracle:communications_element_manager:*:*:*:*:*:*:*:* |
>= 8.2.0, <= 8.2.4.0 | |
| NVD | oracle | communications_interactive_session_recordercpe:2.3:a:oracle:communications_interactive_session_recorder:6.4:*:*:*:*:*:*:* |
= 6.4 | |
| NVD | oracle | communications_network_integritycpe:2.3:a:oracle:communications_network_integrity:7.3.6:*:*:*:*:*:*:* |
= 7.3.6 | |
| NVD | oracle | communications_session_report_managercpe:2.3:a:oracle:communications_session_report_manager:*:*:*:*:*:*:*:* |
>= 8.0.0, <= 8.2.4.0 | |
| NVD | oracle | communications_session_route_managercpe:2.3:a:oracle:communications_session_route_manager:*:*:*:*:*:*:*:* |
>= 8.0.0, <= 8.2.4.0 | |
| NVD | oracle | communications_unified_inventory_managementcpe:2.3:a:oracle:communications_unified_inventory_management:7.4.1:*:*:*:*:*:*:* |
= 7.4.1 | |
| NVD | oracle | communications_unified_inventory_managementcpe:2.3:a:oracle:communications_unified_inventory_management:7.4.2:*:*:*:*:*:*:* |
= 7.4.2 | |
| NVD | oracle | communications_unified_inventory_managementcpe:2.3:a:oracle:communications_unified_inventory_management:7.5.0:*:*:*:*:*:*:* |
= 7.5.0 | |
| NVD | oracle | documakercpe:2.3:a:oracle:documaker:*:*:*:*:*:*:*:* |
>= 12.6.0, <= 12.6.4 | |
| NVD | oracle | enterprise_data_qualitycpe:2.3:a:oracle:enterprise_data_quality:12.2.1.3.0:*:*:*:*:*:*:* |
= 12.2.1.3.0 | |
| NVD | oracle | enterprise_data_qualitycpe:2.3:a:oracle:enterprise_data_quality:12.2.1.4.0:*:*:*:*:*:*:* |
= 12.2.1.4.0 | |
| NVD | oracle | financial_services_analytical_applications_infrastructurecpe:2.3:a:oracle:financial_services_analytical_applications_infrastructure:*:*:*:*:*:*:*:* |
>= 8.0.8, <= 8.1.1 | |
| NVD | oracle | healthcare_data_repositorycpe:2.3:a:oracle:healthcare_data_repository:8.1.0:*:*:*:*:*:*:* |
= 8.1.0 | |
| NVD | oracle | insurance_policy_administrationcpe:2.3:a:oracle:insurance_policy_administration:*:*:*:*:*:*:*:* |
>= 11.0, <= 11.3.1 | |
| NVD | oracle | insurance_rules_palettecpe:2.3:a:oracle:insurance_rules_palette:11.0.2:*:*:*:*:*:*:* |
= 11.0.2 | |
| NVD | oracle | insurance_rules_palettecpe:2.3:a:oracle:insurance_rules_palette:11.1.0:*:*:*:*:*:*:* |
= 11.1.0 | |
| NVD | oracle | insurance_rules_palettecpe:2.3:a:oracle:insurance_rules_palette:11.2.7:*:*:*:*:*:*:* |
= 11.2.7 | |
| NVD | oracle | insurance_rules_palettecpe:2.3:a:oracle:insurance_rules_palette:11.3.0:*:*:*:*:*:*:* |
= 11.3.0 | |
| NVD | oracle | insurance_rules_palettecpe:2.3:a:oracle:insurance_rules_palette:11.3.1:*:*:*:*:*:*:* |
= 11.3.1 | |
| NVD | oracle | mysql_enterprise_monitorcpe:2.3:a:oracle:mysql_enterprise_monitor:*:*:*:*:*:*:*:* |
<= 8.0.25 | |
| NVD | oracle | retail_assortment_planningcpe:2.3:a:oracle:retail_assortment_planning:16.0:*:*:*:*:*:*:* |
= 16.0 | |
| NVD | oracle | retail_customer_management_and_segmentation_foundationcpe:2.3:a:oracle:retail_customer_management_and_segmentation_foundation:*:*:*:*:*:*:*:* |
>= 16.0, <= 19.0 | |
| NVD | oracle | retail_financial_integrationcpe:2.3:a:oracle:retail_financial_integration:14.1.3.2:*:*:*:*:*:*:* |
= 14.1.3.2 | |
| NVD | oracle | retail_financial_integrationcpe:2.3:a:oracle:retail_financial_integration:15.0.3.1:*:*:*:*:*:*:* |
= 15.0.3.1 | |
| NVD | oracle | retail_financial_integrationcpe:2.3:a:oracle:retail_financial_integration:16.0.3:*:*:*:*:*:*:* |
= 16.0.3 | |
| NVD | oracle | retail_integration_buscpe:2.3:a:oracle:retail_integration_bus:14.1.3.2:*:*:*:*:*:*:* |
= 14.1.3.2 | |
| NVD | oracle | retail_integration_buscpe:2.3:a:oracle:retail_integration_bus:15.0.3.1:*:*:*:*:*:*:* |
= 15.0.3.1 | |
| NVD | oracle | retail_integration_buscpe:2.3:a:oracle:retail_integration_bus:16.0.3:*:*:*:*:*:*:* |
= 16.0.3 | |
| NVD | oracle | retail_merchandising_systemcpe:2.3:a:oracle:retail_merchandising_system:19.0.1:*:*:*:*:*:*:* |
= 19.0.1 | |
| NVD | oracle | retail_order_brokercpe:2.3:a:oracle:retail_order_broker:16.0:*:*:*:*:*:*:* |
= 16.0 | |
| NVD | oracle | retail_predictive_application_servercpe:2.3:a:oracle:retail_predictive_application_server:14.1.3:*:*:*:*:*:*:* |
= 14.1.3 | |
| NVD | oracle | retail_predictive_application_servercpe:2.3:a:oracle:retail_predictive_application_server:15.0.3:*:*:*:*:*:*:* |
= 15.0.3 | |
| NVD | oracle | retail_predictive_application_servercpe:2.3:a:oracle:retail_predictive_application_server:16.0.3:*:*:*:*:*:*:* |
= 16.0.3 | |
| NVD | oracle | utilities_testing_acceleratorcpe:2.3:a:oracle:utilities_testing_accelerator:6.0.0.1.1:*:*:*:*:*:*:* |
= 6.0.0.1.1 | |
| NVD | oracle | utilities_testing_acceleratorcpe:2.3:a:oracle:utilities_testing_accelerator:6.0.0.2.2:*:*:*:*:*:*:* |
= 6.0.0.2.2 | |
| NVD | oracle | utilities_testing_acceleratorcpe:2.3:a:oracle:utilities_testing_accelerator:6.0.0.3.1:*:*:*:*:*:*:* |
= 6.0.0.3.1 | |
| NVD | netapp | hcicpe:2.3:a:netapp:hci:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | management_services_for_element_softwarecpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Maven | org.springframework:spring-web | >= 5.2.0, < 5.2.15 | 5.2.15 |
| OSV | Maven | org.springframework:spring-web | >= 5.3.0, < 5.3.7 | 5.3.7 |
References
- https://security.netapp.com/advisory/ntap-20210713-0005/ · Third Party Advisory, WEB
- https://tanzu.vmware.com/security/cve-2021-22118 · Third Party Advisory, WEB
- https://www.oracle.com//security-alerts/cpujul2021.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpuapr2022.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujan2022.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpuoct2021.html · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-22118 · ADVISORY
- https://github.com/spring-projects/spring-framework/issues/26931 · WEB
- https://github.com/spring-projects/spring-framework/commit/0d0d75e25322d8161002d861fff3ec04ba8be5ac · WEB
- https://github.com/spring-projects/spring-framework/commit/cce60c479c22101f24b2b4abebb6d79440b120d1 · WEB
- https://github.com/spring-projects/spring-framework · PACKAGE
- https://spring.io/security/cve-2021-22118 · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 May 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)