{"id":"CVE-2024-20399","kind":"vulnerability","aliases":["CVE-2024-20399"],"related":[],"title":"A vulnerability in the CLI of Cisco NX-OS Software could allow an authenticated user in possession of Administrator…","description":"A vulnerability in the CLI of Cisco NX-OS Software could allow an authenticated user in possession of Administrator credentials to execute arbitrary commands as root on the underlying operating system of an affected device.\r\n\r\nThis vulnerability is due to insufficient validation of arguments that are passed to specific configuration CLI commands. An attacker could exploit this vulnerability by including crafted input as the argument of an affected configuration CLI command. A successful exploit could allow the attacker to execute arbitrary commands on the underlying operating system with the privileges of root.\r\nNote: To successfully exploit this vulnerability on a Cisco NX-OS device, an attacker must have Administrator credentials. The following Cisco devices already allow administrative users to access the underlying operating system through the bash-shell feature, so, for these devices, this vulnerability does not grant any additional privileges:\r\n\r\nNexus 3000 Series Switches\r\nNexus 7000 Series Switches that are running Cisco NX-OS Software releases 8.1(1) and later\r\nNexus 9000 Series Switches in standalone NX-OS mode","summary":"Cisco NX-OS, the network operating system on Cisco Nexus switches, has a command injection flaw in its command line interface. An attacker with valid local credentials can run arbitrary commands as root on the underlying device.","severity":"high","cvss":6.7,"epss":null,"exploited":true,"exploited_at":"2024-07-02T00:00:00+00:00","products":[{"name":"Cisco NX-OS","fixed":[],"affected":"","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(2\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(2a\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(6\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(6a\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(6b\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(8\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(8a\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(8b\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(10\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(12\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(14\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(16\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(18\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(20\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(20a\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(22\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(24\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 6.2\\(24a\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.2\\(0\\)d1\\(1\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.2\\(1\\)d1\\(1\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.2\\(2\\)d1\\(1\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.2\\(2\\)d1\\(2\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.3\\(0\\)d1\\(1\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.3\\(0\\)dx\\(1\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.3\\(1\\)d1\\(1\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.3\\(2\\)d1\\(1\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.3\\(2\\)d1\\(2\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.3\\(2\\)d1\\(3\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.3\\(2\\)d1\\(3a\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.3\\(3\\)d1\\(1\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.3\\(4\\)d1\\(1\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.3\\(5\\)d1\\(1\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.3\\(6\\)d1\\(1\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.3\\(7\\)d1\\(1\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.3\\(8\\)d1\\(1\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 7.3\\(9\\)d1\\(1\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 8.0\\(1\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 8.1\\(1\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 8.1\\(2\\)","ecosystem":"vendor"},{"name":"cisco nx-os","fixed":[],"affected":"= 8.1\\(2a\\)","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["cisco","exploited","infrastructure","nexus","nx-os"],"not_affected_if":["no-cli-local-users"],"how_to_check":null,"fix":"Apply the mitigations in Cisco's vendor advisory, or stop using the affected product if no mitigation exists. Sources do not name the fixed versions.","status":"open","published_at":"2024-07-01T17:15:04+00:00","first_seen_at":"2026-10-23T19:11:51+00:00","triaged_at":"2026-10-23T20:58:38+00:00","updated_at":"2026-10-23T22:29:05+00:00","category":"infrastructure","confidence":0.7,"triage":{"at":"2026-10-23T20:58:38Z","model":"claude-haiku-5-5","output":{"fix":"Apply the mitigations in Cisco's vendor advisory, or stop using the affected product if no mitigation exists. Sources do not name the fixed versions.","reach":"local","impact":"high","summary":"Cisco NX-OS, the network operating system on Cisco Nexus switches, has a command injection flaw in its command line interface. An attacker with valid local credentials can run arbitrary commands as root on the underlying device.","category":"infrastructure","who_cares":["cisco","nx-os","nexus"],"confidence":0.7,"needs_auth":"yes","worst_case":"Attacker gains root on the switch operating system.","analyst_note":"Find the affected and fixed NX-OS versions and the vendor mitigation steps in the Cisco security advisory for CVE-2024-20399.","how_to_check":"unknown","needs_analyst":true,"not_affected_if":["no-cli-local-users"],"user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000457,"input_tokens":2825,"output_tokens":349,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-2024':22A,25A '-20399':23A,26A '1':398C '3000':381C '7000':385C '8.1':397C '9000':402C 'access':357C 'addit':378C 'administr':20A,255C,346C,354C 'affect':270C,304C 'allow':13A,248C,312C,353C 'alreadi':352C 'arbitrari':228B,259C,317C 'argument':280C,301C 'attack':221B,290C,314C,343C 'authent':15A,250C 'bash':365C 'bash-shel':364C 'cisco':7A,27A,31A,35A,39A,43A,47A,51A,55A,59A,63A,67A,71A,75A,79A,83A,87A,91A,95A,99A,103A,107A,111A,115A,119A,123A,127A,131A,135A,139A,143A,147A,151A,155A,159A,163A,167A,171A,175A,179A,183A,187A,191B,198B,207B,242C,337C,350C,391C 'cli':5A,240C,287C,306C 'command':212B,217B,229B,260C,288C,307C,318C 'configur':286C,305C 'could':12A,247C,291C,311C 'craft':297C 'credenti':225B,256C,347C 'cve':21A,24A 'devic':235B,271C,341C,351C,371C 'due':275C 'execut':258C,316C 'exploit':192B,292C,310C,332C 'featur':367C 'flaw':214B 'follow':349C 'grant':376C 'includ':296C 'infrastructur':193B 'inject':213B 'input':298C 'insuffici':277C 'interfac':219B 'later':400C 'line':218B 'local':224B 'mode':410C 'must':344C 'network':203B 'nexus':194B,208B,380C,384C,401C 'note':329C 'nx':9A,29A,33A,37A,41A,45A,49A,53A,57A,61A,65A,69A,73A,77A,81A,85A,89A,93A,97A,101A,105A,109A,113A,117A,121A,125A,129A,133A,137A,141A,145A,149A,153A,157A,161A,165A,169A,173A,177A,181A,185A,189A,196B,200B,244C,339C,393C,408C 'nx-os':8A,28A,32A,36A,40A,44A,48A,52A,56A,60A,64A,68A,72A,76A,80A,84A,88A,92A,96A,100A,104A,108A,112A,116A,120A,124A,128A,132A,136A,140A,144A,148A,152A,156A,160A,164A,168A,172A,176A,180A,184A,188A,195B,199B,243C,338C,392C,407C 'oper':204B,266C,322C,360C 'os':10A,30A,34A,38A,42A,46A,50A,54A,58A,62A,66A,70A,74A,78A,82A,86A,90A,94A,98A,102A,106A,110A,114A,118A,122A,126A,130A,134A,138A,142A,146A,150A,154A,158A,162A,166A,170A,174A,178A,182A,186A,190A,197B,201B,245C,340C,394C,409C 'pass':283C 'possess':18A,253C 'privileg':326C,379C 'releas':396C 'root':231B,262C,328C 'run':227B,390C 'seri':382C,386C,403C 'shell':366C 'softwar':11A,246C,395C 'specif':285C 'standalon':406C 'success':309C,331C 'switch':209B,383C,387C,404C 'system':205B,267C,323C,361C 'under':234B,265C,321C,359C 'user':16A,251C,355C 'valid':223B,278C 'vulner':2A,237C,273C,294C,334C,373C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2024-07-01T17:15:04+00:00","kev":{"dateAdded":"2024-07-02","dueDate":"2024-07-23","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","knownRansomwareCampaignUse":"Unknown"},"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","cvss_by":"psirt@cisco.com","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2024-20399","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2024-20399","severity":null,"published_at":"2024-07-02T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:51+00:00","fetched_at":"2026-10-25T12:39:22+00:00","note":null},{"source":"nvd","external_id":"CVE-2024-20399","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-20399","severity":null,"published_at":"2024-07-01T17:15:04+00:00","modified_at":"2026-06-17T07:06:56+00:00","first_seen_at":"2026-10-23T22:29:05+00:00","fetched_at":"2026-10-23T22:29:05+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}