{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-40119 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-40119 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-40119 is a critical vulnerability in Cisco Policy Suite (CPS) Software, published on 4 Nov 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-40119 and fix it if it is affected.\n\nWhat it is: CVE-2021-40119 is a critical vulnerability in Cisco Policy Suite (CPS) Software, published on 4 Nov 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-40119 in the wild and no public exploit code.\n\nAffected product: Cisco Policy Suite (CPS) Software. 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-40119/ (Markdown: https://insights.sbomify.com/CVE-2021-40119/index.md)","id":"CVE-2021-40119","markdown":"https://insights.sbomify.com/CVE-2021-40119/index.md","name":"CVE-2021-40119","record":{"aliases":["GHSA-wjwm-57j9-gm6h"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Cisco Policy Suite","requires_auth":"none","summary":"Unauthenticated remote attackers can log in as root using static SSH keys reused across installations, leading to full system compromise.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"policy_suite","vendor":"cisco"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-798","name":"Use of Hard-coded Credentials"},{"id":"CWE-321","name":"Use of Hard-coded Cryptographic Key"}],"description":"A vulnerability in the key-based SSH authentication mechanism of Cisco Policy Suite could allow an unauthenticated, remote attacker to log in to an affected system as the root user. This vulnerability is due to the re-use of static SSH keys across installations. An attacker could exploit this vulnerability by extracting a key from a system under their control. A successful exploit could allow the attacker to log in to an affected system as the root user.","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":"Cisco Policy Suite Static SSH Keys Vulnerability","id":"CVE-2021-40119","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"hardcoded_credentials","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Cisco Small Business RV Series Routers Command Injection Vulnerability","id":"CVE-2021-40120"},"packages":[],"prev":{"headline":"Denial of service in Cisco Adaptive Security Appliance (ASA) Software","id":"CVE-2021-40118"},"products":["Cisco Policy Suite (CPS) Software"],"published":"2021-11-04","related":[{"cvss_score":7.8,"headline":"Privilege escalation in Cisco Policy Suite","id":"CVE-2017-6623","kev_date_added":null,"published":"2017-05-18"},{"cvss_score":7.5,"headline":"Information disclosure in Cisco Policy Suite","id":"CVE-2018-0089","kev_date_added":null,"published":"2018-01-18"},{"cvss_score":5.3,"headline":"Privilege escalation in Policy Suite","id":"CVE-2017-6781","kev_date_added":null,"published":"2017-08-17"}],"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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-07","vendors":["Cisco"]},"summary":"Unauthenticated remote attackers can log in as root using static SSH keys reused across installations, leading to full system compromise.","url":"https://insights.sbomify.com/CVE-2021-40119/"}