{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-0122 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-0122 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-0122 is a medium-severity command injection vulnerability in Cisco StarOS for Cisco ASR 5000 Series Aggregation Services Routers, published on 8 Feb 2018. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-0122 and fix it if it is affected.\n\nWhat it is: CVE-2018-0122 is a medium-severity command injection vulnerability in Cisco StarOS for Cisco ASR 5000 Series Aggregation Services Routers, published on 8 Feb 2018. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-0122 in the wild and no public exploit code.\n\nAffected product: Cisco StarOS for Cisco ASR 5000 Series Aggregation Services Routers. 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-2018-0122/ (Markdown: https://insights.sbomify.com/CVE-2018-0122/index.md)","id":"CVE-2018-0122","markdown":"https://insights.sbomify.com/CVE-2018-0122/index.md","name":"CVE-2018-0122","record":{"aliases":["GHSA-vrq7-hq3r-99cx"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Cisco ASR 5000 Router","requires_auth":"high_privilege","summary":"An authenticated local attacker can inject commands to overwrite arbitrary files in flash memory on Cisco ASR 5000 routers.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"staros","vendor":"cisco"}],"cvss":{"score":4.4,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"A vulnerability in the CLI of the Cisco StarOS operating system for Cisco ASR 5000 Series Aggregation Services Routers could allow an authenticated, local attacker to overwrite system files that are stored in the flash memory of an affected system. The vulnerability is due to insufficient validation of user-supplied input by the affected operating system. An attacker could exploit this vulnerability by injecting crafted command arguments into a vulnerable CLI command for the affected operating system. A successful exploit could allow the attacker to overwrite or modify arbitrary files that are stored in the flash memory of an affected system. To exploit this vulnerability, the attacker would need to authenticate to an affected system by using valid administrator credentials. Cisco Bug IDs: CSCvf93335.","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 Cisco StarOS for Cisco ASR 5000 Series Aggregation Services Routers","id":"CVE-2018-0122","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2018"},"n_packages":0,"n_references":3,"next":{"headline":"Path traversal in Cisco IOS and IOS XE","id":"CVE-2018-0123"},"packages":[],"prev":{"headline":"Auth bypass in Cisco Elastic Services Controller","id":"CVE-2018-0121"},"products":["Cisco StarOS for Cisco ASR 5000 Series Aggregation Services Routers"],"published":"2018-02-08","related":[{"cvss_score":8.8,"headline":"Auth bypass in Cisco ASR 5000 Series Software","id":"CVE-2023-20046","kev_date_added":null,"published":"2023-05-09"},{"cvss_score":8.6,"headline":"Cisco StarOS Denial of Service Vulnerability","id":"CVE-2019-1869","kev_date_added":null,"published":"2019-06-20"},{"cvss_score":8.6,"headline":"Denial of service in Cisco StarOS unknown","id":"CVE-2018-0369","kev_date_added":null,"published":"2018-07-16"},{"cvss_score":8.2,"headline":"Command injection in Cisco StarOS","id":"CVE-2017-6707","kev_date_added":null,"published":"2017-07-06"},{"cvss_score":8.1,"headline":"Cisco ASR 5000 Series Software Authorization Bypass Vulnerabilities","id":"CVE-2021-1539","kev_date_added":null,"published":"2021-06-04"},{"cvss_score":8.1,"headline":"Cisco ASR 5000 Series Software Authorization Bypass Vulnerabilities","id":"CVE-2021-1540","kev_date_added":null,"published":"2021-06-04"},{"cvss_score":7.5,"headline":"Denial of service in Cisco StarOS","id":"CVE-2018-0239","kev_date_added":null,"published":"2018-04-19"}],"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":"2024-12-02","vendors":["n/a"]},"summary":"An authenticated local attacker can inject commands to overwrite arbitrary files in flash memory on Cisco ASR 5000 routers.","url":"https://insights.sbomify.com/CVE-2018-0122/"}