{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-38387 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-38387 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-38387 is a high-severity command injection vulnerability in Ibm Cloud Pak for Security, published on 11 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-38387 and fix it if it is affected.\n\nWhat it is: CVE-2022-38387 is a high-severity command injection vulnerability in Ibm Cloud Pak for Security, published on 11 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-38387 in the wild and no public exploit code.\n\nAffected product: Ibm Cloud Pak for Security. 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-2022-38387/ (Markdown: https://insights.sbomify.com/CVE-2022-38387/index.md)","id":"CVE-2022-38387","markdown":"https://insights.sbomify.com/CVE-2022-38387/index.md","name":"CVE-2022-38387","record":{"aliases":["GHSA-xr77-j342-26f8"],"analysis":{"component_type":"cloud_service","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"IBM Cloud Pak for Security","requires_auth":"low_privilege","summary":"Remote authenticated attackers can execute arbitrary commands on IBM Cloud Pak for Security via crafted requests.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"ibm","cpe":[{"product":"cloud_pak_for_security","vendor":"ibm"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"IBM Cloud Pak for Security (CP4S) 1.10.0.0 through 1.10.2.0 could allow a remote authenticated attacker to execute arbitrary commands on the system by sending a specially crafted request.  IBM X-Force ID:  233786.","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 Cloud Pak for Security","id":"CVE-2022-38387","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"ibm:cloud_pak_for_security","products":["ibm:cloud_pak_for_security"],"type":"command_injection","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"Information disclosure in Navigator Mobile","id":"CVE-2022-38388"},"packages":[],"prev":{"headline":"IBM Cloud Pak for Security information disclosure","id":"CVE-2022-38386"},"products":["Cloud Pak for Security"],"published":"2022-11-11","related":[{"cvss_score":9.6,"headline":"IBM QRadar Suite Software and IBM Cloud Pak for Security information disclosure","id":"CVE-2025-25022","kev_date_added":null,"published":"2025-06-03"},{"cvss_score":8,"headline":"Command injection in Cloud Pak for Security","id":"CVE-2021-29696","kev_date_added":null,"published":"2021-08-02"},{"cvss_score":7.2,"headline":"IBM QRadar Suite Software and IBM Cloud Pak for Security code injection","id":"CVE-2025-25021","kev_date_added":null,"published":"2025-06-03"},{"cvss_score":7.1,"headline":"IBM QRadar Suite improper input validation","id":"CVE-2023-47726","kev_date_added":null,"published":"2024-06-18"},{"cvss_score":7.1,"headline":"Missing authorization in Cloud Pak for Security","id":"CVE-2022-38385","kev_date_added":null,"published":"2022-11-11"},{"cvss_score":6.8,"headline":"IBM Cloud Pak for Security information disclosure","id":"CVE-2023-30993","kev_date_added":null,"published":"2023-06-27"}],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-01","vendors":["IBM"]},"summary":"Remote authenticated attackers can execute arbitrary commands on IBM Cloud Pak for Security via crafted requests.","url":"https://insights.sbomify.com/CVE-2022-38387/"}