CVE-2024-20285

Cisco NX-OS Software Python Parser Escape Vulnerability

5.3 medium EPSS 0.19%

Published 28 Aug 2024 Updated 28 Aug 2024 CNA: cisco

Description

A vulnerability in the Python interpreter of Cisco NX-OS Software could allow an authenticated, low-privileged, local attacker to escape the Python sandbox and gain unauthorized access to the underlying operating system of the device.

The vulnerability is due to insufficient validation of user-supplied input. An attacker could exploit this vulnerability by manipulating specific functions within the Python interpreter. A successful exploit could allow an attacker to escape the Python sandbox and execute arbitrary commands on the underlying operating system with the privileges of the authenticated user.  Note: An attacker must be authenticated with Python execution privileges to exploit these vulnerabilities. For more information regarding Python execution privileges, see product-specific documentation, such as the section of the Cisco Nexus 9000 Series NX-OS Programmability Guide.

Severity (CVSS)

5.3 medium CVSS 3.1 from cisco (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality low, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.55% of all scored CVEs. Scores of 2 Dec 2026.

The assessment of CISA (SSVC, 28 Aug 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-653 Improper Isolation or Compartmentalization

Affected products

As the CNA lists them.

ProductVersions
Cisco NX-OS Software
affected 7.3(6)N1(1a)
affected 8.4(2)
affected 7.3(6)N1(1)
affected 9.2(3)
affected 7.0(3)I5(2)
affected 8.2(1)
affected 6.0(2)A8(7a)
affected 7.0(3)I4(5)
affected 6.0(2)A6(1)
affected 7.3(1)D1(1)
affected 7.0(3)I4(6)
affected 7.3(4)N1(1)
affected 7.0(3)I4(3)
affected 9.2(2v)
affected 6.0(2)A6(5b)
affected 7.3(0)D1(1)
affected 6.2(17a)
affected 7.0(3)I4(7)
affected 6.0(2)U6(1a)
affected 7.1(5)N1(1b)
affected 7.0(3)I4(1)
affected 7.0(3)I4(8)
affected 7.0(3)I4(2)
affected 7.1(4)N1(1c)
affected 7.0(3)IM3(1)
and 233 more entries
Other versions: unknown

Is my server affected?

This CVE is in Cisco NX-OS Software of Cisco, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2024-20285 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.