{"cve":"CVE-2021-22118","nvd":{"published":"2021-05-27T15:15:07.437","modified":"2026-06-17T03:36:38.867","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-668","CWE-269"],"references":["https://security.netapp.com/advisory/ntap-20210713-0005/","https://tanzu.vmware.com/security/cve-2021-22118","https://www.oracle.com//security-alerts/cpujul2021.html","https://www.oracle.com/security-alerts/cpuapr2022.html","https://www.oracle.com/security-alerts/cpujan2022.html"],"products":["netapp:hci","netapp:management_services_for_element_software","oracle:commerce_guided_search","oracle:communications_brm_-_elastic_charging_engine","oracle:communications_cloud_native_core_binding_support_function","oracle:communications_cloud_native_core_policy","oracle:communications_cloud_native_core_security_edge_protection_proxy","oracle:communications_cloud_native_core_service_communication_proxy","oracle:communications_cloud_native_core_unified_data_repository","oracle:communications_diameter_intelligence_hub","oracle:communications_element_manager","oracle:communications_interactive_session_recorder","oracle:communications_network_integrity","oracle:communications_session_report_manager","oracle:communications_session_route_manager","oracle:communications_unified_inventory_management","oracle:documaker","oracle:enterprise_data_quality","oracle:financial_services_analytical_applications_infrastructure","oracle:healthcare_data_repository","oracle:insurance_policy_administration","oracle:insurance_rules_palette","oracle:mysql_enterprise_monitor","oracle:retail_assortment_planning","oracle:retail_customer_management_and_segmentation_foundation","oracle:retail_financial_integration","oracle:retail_integration_bus","oracle:retail_merchandising_system","oracle:retail_order_broker","oracle:retail_predictive_application_server","oracle:utilities_testing_accelerator","vmware:spring_framework"],"source":"nvd","synced_at":"2026-10-19T21:18:09.669877188+00:00"},"epss":{"cve":"CVE-2021-22118","score":0.00381,"percentile":0.3208,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gfwj-fwqj-fp3v","url":"https://osv.dev/vulnerability/GHSA-gfwj-fwqj-fp3v","summary":"Improper Privilege Management in Spring Framework","modified":"2024-02-20T05:32:02.209050Z","packages":[{"ecosystem":"Maven","name":"org.springframework:spring-web","purl":"pkg:maven/org.springframework/spring-web","ranges":[">=5.2.0 <5.2.15"],"fixed":["5.2.15"]},{"ecosystem":"Maven","name":"org.springframework:spring-web","purl":"pkg:maven/org.springframework/spring-web","ranges":[">=5.3.0 <5.3.7"],"fixed":["5.3.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}