{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2021-38163 in the wild since at least 9 Jun 2022.","fix":"No fix has been published for CVE-2021-38163 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 30 Jun 2022.","what":"CVE-2021-38163 is a critical vulnerability in Sap Netweaver, published on 14 Sep 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-38163 and fix it if it is affected.\n\nWhat it is: CVE-2021-38163 is a critical vulnerability in Sap Netweaver, published on 14 Sep 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2021-38163 in the wild since at least 9 Jun 2022.\n\nAffected product: Sap Netweaver. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-38163/ (Markdown: https://insights.sbomify.com/CVE-2021-38163/index.md)","id":"CVE-2021-38163","markdown":"https://insights.sbomify.com/CVE-2021-38163/index.md","name":"CVE-2021-38163","record":{"aliases":["GHSA-px4v-wj8p-cq36"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","data_read","data_modify","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"SAP NetWeaver Visual Composer","requires_auth":"low_privilege","summary":"Authenticated attackers can upload malicious files to SAP NetWeaver Visual Composer to execute OS commands, read/modify data, or cause denial of service.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"sap","cpe":[{"product":"netweaver","vendor":"sap"}],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"SAP NetWeaver (Visual Composer 7.0 RT) versions - 7.30, 7.31, 7.40, 7.50, without restriction, an attacker authenticated as a non-administrative user can upload a malicious file over a network and trigger its processing, which is capable of running operating system commands with the privilege of the Java Server process. These commands can be used to read or modify any information on the server or shut the server down making it unavailable.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2022-09-10","github_poc":2,"max_poc_stars":4,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-09-10T03:41:52Z","kind":"github_poc","ref":"https://github.com/core1impact/CVE-2021-38163","stars":4,"title":"CVE-2021-38163 - exploit for SAP Netveawer"},{"date":"2025-04-04T05:12:15Z","kind":"github_poc","ref":"https://github.com/purpleteam-ru/CVE-2021-38163","stars":0,"title":"CVE-2021-38163 - SAP NetWeaver AS Java Desynchronization Vulnerability"}],"tier":"exploited"},"has_fix":null,"headline":"SAP NetWeaver Unrestricted File Upload","id":"CVE-2021-38163","indexable":true,"kev":{"dateAdded":"2022-06-09","dueDate":"2022-06-30","knownRansomwareCampaignUse":"Unknown","product":"NetWeaver","requiredAction":"Apply updates per vendor instructions.","vendorProject":"SAP","vulnerabilityName":"SAP NetWeaver Unrestricted File Upload Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"sap:netweaver","products":["sap:netweaver"],"type":"file_upload","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Missing authorization in SAP ERP Financial Accounting (RFOPENPOSTING FR)","id":"CVE-2021-38164"},"packages":[],"prev":{"headline":"Other in SAP Web Dispatcher","id":"CVE-2021-38162"},"products":["SAP NetWeaver (Visual Composer 7.0 RT)"],"published":"2021-09-14","related":[{"cvss_score":10,"headline":"SAP NetWeaver Unrestricted File Upload","id":"CVE-2025-31324","kev_date_added":"2025-04-29","published":"2025-04-24"},{"cvss_score":9.1,"headline":"SAP NetWeaver Deserialization","id":"CVE-2025-42999","kev_date_added":"2025-05-15","published":"2025-05-13"},{"cvss_score":10,"headline":"XML external entity in n/a","id":"CVE-2013-6822","kev_date_added":null,"published":"2013-11-19"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2011-1517","kev_date_added":null,"published":"2020-02-05"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2013-1592","kev_date_added":null,"published":"2020-01-23"},{"cvss_score":9.8,"headline":"XML external entity in n/a","id":"CVE-2015-7241","kev_date_added":null,"published":"2017-09-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["SAP SE"]},"summary":"Authenticated attackers can upload malicious files to SAP NetWeaver Visual Composer to execute OS commands, read/modify data, or cause denial of service.","url":"https://insights.sbomify.com/CVE-2021-38163/"}