{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-1145 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-1145 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-1145 is a medium-severity path traversal vulnerability in Cisco ASR 5000 Series Software, published on 13 Jan 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-1145 and fix it if it is affected.\n\nWhat it is: CVE-2021-1145 is a medium-severity path traversal vulnerability in Cisco ASR 5000 Series Software, published on 13 Jan 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-1145 in the wild and no public exploit code.\n\nAffected product: Cisco ASR 5000 Series 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-1145/ (Markdown: https://insights.sbomify.com/CVE-2021-1145/index.md)","id":"CVE-2021-1145","markdown":"https://insights.sbomify.com/CVE-2021-1145/index.md","name":"CVE-2021-1145","record":{"aliases":["GHSA-4hw8-23gq-m2qg"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Cisco ASR 5000 Router","requires_auth":"low_privilege","summary":"An authenticated attacker can read arbitrary files on Cisco ASR 5000 routers via crafted SFTP commands exploiting insecure symbolic link handling.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"staros","vendor":"cisco"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"}],"description":"A vulnerability in the Secure FTP (SFTP) of Cisco StarOS for Cisco ASR 5000 Series Routers could allow an authenticated, remote attacker to read arbitrary files on an affected device. To exploit this vulnerability, the attacker would need to have valid credentials on the affected device. The vulnerability is due to insecure handling of symbolic links. An attacker could exploit this vulnerability by sending a crafted SFTP command to an affected device. A successful exploit could allow the attacker to read arbitrary files on the affected device.","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 StarOS for Cisco ASR 5000 Series Routers Arbitrary File Read Vulnerability","id":"CVE-2021-1145","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Cisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection Vulnerabilities","id":"CVE-2021-1146"},"packages":[],"prev":{"headline":"Cisco Connected Mobile Experiences Privilege Escalation Vulnerability","id":"CVE-2021-1144"},"products":["Cisco ASR 5000 Series Software"],"published":"2021-01-13","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-11-12","vendors":["Cisco"]},"summary":"An authenticated attacker can read arbitrary files on Cisco ASR 5000 routers via crafted SFTP commands exploiting insecure symbolic link handling.","url":"https://insights.sbomify.com/CVE-2021-1145/"}