{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-39065 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-39065 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-39065 is a high-severity command injection vulnerability in IBM Spectrum Copy Data Management, published on 13 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-39065 and fix it if it is affected.\n\nWhat it is: CVE-2021-39065 is a high-severity command injection vulnerability in IBM Spectrum Copy Data Management, published on 13 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-39065 in the wild and no public exploit code.\n\nAffected product: IBM Spectrum Copy Data Management. 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-39065/ (Markdown: https://insights.sbomify.com/CVE-2021-39065/index.md)","id":"CVE-2021-39065","markdown":"https://insights.sbomify.com/CVE-2021-39065/index.md","name":"CVE-2021-39065","record":{"aliases":["GHSA-wvcw-rv39-83m4"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"IBM Spectrum Copy Data Management","requires_auth":"none","summary":"Remote attackers can execute arbitrary shell commands via improper input validation in the admin console login and certificate upload functions.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"ibm","cpe":[{"product":"spectrum_copy_data_management","vendor":"ibm"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.0/C:H/AV:N/I:H/UI:N/S:U/PR:N/A:H/AC:H/RL:O/RC:C/E:U","version":"3.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"IBM Spectrum Copy Data Management 2.2.13 and earlier could allow a remote attacker to execute arbitrary commands on the system, caused by improper validation of user-supplied input by the Spectrum Copy Data Management Admin Console login and uploadcertificate function . A remote attacker could inject arbitrary shell commands which would be executed on the affected system. IBM X-Force ID: 214958.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Command injection in Spectrum Copy Data Management","id":"CVE-2021-39065","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Auth bypass in n/a","id":"CVE-2021-39066"},"packages":[],"prev":{"headline":"Hardcoded credentials in Spectrum Copy Data Management","id":"CVE-2021-39064"},"products":["Spectrum Copy Data Management"],"published":"2021-12-13","related":[{"cvss_score":6.2,"headline":"Denial of service in Spectrum Copy Data Management","id":"CVE-2022-22354","kev_date_added":null,"published":"2022-03-14"},{"cvss_score":5.9,"headline":"Weak cryptography in Spectrum Copy Data Management","id":"CVE-2021-38947","kev_date_added":null,"published":"2021-12-13"},{"cvss_score":5.9,"headline":"Information disclosure in Spectrum Copy Data Management","id":"CVE-2021-39053","kev_date_added":null,"published":"2021-12-13"},{"cvss_score":5.9,"headline":"Weak cryptography in Spectrum Copy Data Management","id":"CVE-2021-39058","kev_date_added":null,"published":"2021-12-13"},{"cvss_score":5.9,"headline":"Hardcoded credentials in Spectrum Copy Data Management","id":"CVE-2021-39064","kev_date_added":null,"published":"2021-12-13"},{"cvss_score":5.6,"headline":"Missing authorization in Spectrum Copy Data Management","id":"CVE-2021-39052","kev_date_added":null,"published":"2021-12-13"}],"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":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["IBM"]},"summary":"Remote attackers can execute arbitrary shell commands via improper input validation in the admin console login and certificate upload functions.","url":"https://insights.sbomify.com/CVE-2021-39065/"}