# CVE-2022-20665: Cisco StarOS Command Injection Vulnerability

- Severity: Medium 6.0 (CVSS:3.1, scored by cisco) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2022-04-06T18:13:41.066Z
- Modified: 2026-06-17T04:24:48.797Z
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: cisco

## Description

A vulnerability in the CLI of Cisco StarOS could allow an authenticated, local attacker to elevate privileges on an affected device. This vulnerability is due to insufficient input validation of CLI commands. An attacker could exploit this vulnerability by sending crafted commands to the CLI. A successful exploit could allow the attacker to execute arbitrary code with the privileges of the root user. To exploit this vulnerability, an attacker would need to have valid administrative credentials on an affected device.

(As written by CVE List.)

## Affected

- Cisco Cisco ASR 5000 Series Software: n/a
- cisco staros: before 21.22.n6; from 21.23.0 before 21.23.n7

## Every score

- cisco: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-staros-cmdinj-759mNT4n> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-20665](https://www.cve.org/CVERecord?id=CVE-2022-20665), CVE Terms of Use, modified 2024-11-06
- NVD: [CVE-2022-20665](https://nvd.nist.gov/vuln/detail/CVE-2022-20665), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-20665 · Whole record: https://cve.day/CVE-2022-20665.json · Rebuilt by cve.day 2026-11-25T22:58:10.453Z
