CVE-2024-20286

MEDIUM
Published Aug 28, 2024 Modified Oct 22, 2024 CWE-693

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.

Is your site exposed to CVE-2024-20286?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

5.3
MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Weakness Type (CWE)

CWE-693 CWE-693

Affected Products

Vendor Product
cisco nx-os
cisco n9k-c92160yc-x
cisco n9k-c92300yc
cisco n9k-c92304qc
cisco n9k-c9232c
cisco n9k-c92348gc-x
cisco n9k-c9236c
cisco n9k-c9272q
cisco n9k-c93108tc-ex
cisco n9k-c93108tc-fx
cisco n9k-c93120tx
cisco n9k-c93128tx
cisco n9k-c9316d-gx
cisco n9k-c93180lc-ex
cisco n9k-c93180yc-ex
cisco n9k-c93180yc-fx
cisco n9k-c93180yc2-fx
cisco n9k-c93216tc-fx2
cisco n9k-c93240yc-fx2
cisco n9k-c9332c
cisco n9k-c9332d-gx2b
cisco n9k-c9332pq
cisco n9k-c93360yc-fx2
cisco n9k-c9336c-fx2
cisco n9k-c9348d-gx2a
cisco n9k-c9348gc-fxp
cisco n9k-c93600cd-gx
cisco n9k-c9364c
cisco n9k-c9364c-gx
cisco n9k-c9364d-gx2a
cisco n9k-c9372px
cisco n9k-c9372px-e
cisco n9k-c9372tx
cisco n9k-c9372tx-e
cisco n9k-c9396px
cisco n9k-c9396tx
cisco n9k-c9504
cisco n9k-c9504-fm-r
cisco n9k-c9508
cisco n9k-c9508-fm-r
cisco n9k-c9516
cisco n9k-sc-a
cisco n9k-sup-a
cisco n9k-sup-a\+
cisco n9k-sup-b
cisco n9k-sup-b\+
cisco n9k-x9400-16w
cisco n9k-x9400-22l
cisco n9k-x9400-8d
cisco n9k-x9432c-s
cisco n9k-x9464px
cisco n9k-x9464tx2
cisco n9k-x9564px
cisco n9k-x9564tx
cisco n9k-x96136yc-r
cisco n9k-x9636c-r
cisco n9k-x9636c-rx
cisco n9k-x9636q-r
cisco n9k-x97160yc-ex
cisco n9k-x97284yc-fx
cisco n9k-x9732c-ex
cisco n9k-x9732c-fx
cisco n9k-x9736c-ex
cisco n9k-x9736c-fx
cisco n9k-x9788tc-fx
cisco nexus_3000
cisco nexus_3000_series
cisco nexus_3016
cisco nexus_3016q
cisco nexus_3048
cisco nexus_3064
cisco nexus_3064-32t
cisco nexus_3064-t
cisco nexus_3064-x
cisco nexus_3064t
cisco nexus_3064x
cisco nexus_3100
cisco nexus_3100-v
cisco nexus_3100-z
cisco nexus_3100v
cisco nexus_31108pc-v
cisco nexus_31108pv-v
cisco nexus_31108tc-v
cisco nexus_31128pq
cisco nexus_3132c-z
cisco nexus_3132q
cisco nexus_3132q-v
cisco nexus_3132q-x
cisco nexus_3132q-x\/3132q-xl
cisco nexus_3132q-xl
cisco nexus_3164q
cisco nexus_3172
cisco nexus_3172pq
cisco nexus_3172pq-xl
cisco nexus_3172pq\/pq-xl
cisco nexus_3172tq
cisco nexus_3172tq-32t
cisco nexus_3172tq-xl
cisco nexus_3200
cisco nexus_3232
cisco nexus_3232c
cisco nexus_3232c_
cisco nexus_3264c-e
cisco nexus_3264q
cisco nexus_3400
cisco nexus_3408-s
cisco nexus_34180yc
cisco nexus_34200yc-sm
cisco nexus_3432d-s
cisco nexus_3464c
cisco nexus_3500
cisco nexus_3500_platform
cisco nexus_3524
cisco nexus_3524-x
cisco nexus_3524-x\/xl
cisco nexus_3524-xl
cisco nexus_3548
cisco nexus_3548-x
cisco nexus_3548-x\/xl
cisco nexus_3548-xl
cisco nexus_3600
cisco nexus_36180yc-r
cisco nexus_3636c-r
cisco nexus_9000
cisco nexus_9000_in_aci_mode
cisco nexus_9000_in_standalone
cisco nexus_9000_in_standalone_nx-os_mode
cisco nexus_9000v
cisco nexus_9200
cisco nexus_9200yc
cisco nexus_92160yc-x
cisco nexus_92160yc_switch
cisco nexus_9221c
cisco nexus_92300yc
cisco nexus_92300yc_switch
cisco nexus_92304qc
cisco nexus_92304qc_switch
cisco nexus_9232e
cisco nexus_92348gc-x
cisco nexus_9236c
cisco nexus_9236c_switch
cisco nexus_9272q
cisco nexus_9272q_switch
cisco nexus_9300
cisco nexus_93108tc-ex
cisco nexus_93108tc-ex-24
cisco nexus_93108tc-ex_switch
cisco nexus_93108tc-fx
cisco nexus_93108tc-fx-24
cisco nexus_93108tc-fx3
cisco nexus_93108tc-fx3h
cisco nexus_93108tc-fx3p
cisco nexus_93120tx
cisco nexus_93120tx_switch
cisco nexus_93128
cisco nexus_93128tx
cisco nexus_93128tx_switch
cisco nexus_9316d-gx
cisco nexus_93180lc-ex
cisco nexus_93180lc-ex_switch
cisco nexus_93180tc-ex
cisco nexus_93180yc-ex
cisco nexus_93180yc-ex-24
cisco nexus_93180yc-ex_switch
cisco nexus_93180yc-fx
cisco nexus_93180yc-fx-24
cisco nexus_93180yc-fx3
cisco nexus_93180yc-fx3h
cisco nexus_93180yc-fx3s
cisco nexus_93216tc-fx2
cisco nexus_93240tc-fx2
cisco nexus_93240yc-fx2
cisco nexus_9332c
cisco nexus_9332d-gx2b
cisco nexus_9332d-h2r
cisco nexus_9332pq
cisco nexus_9332pq_switch
cisco nexus_93360yc-fx2
cisco nexus_9336c-fx2
cisco nexus_9336c-fx2-e
cisco nexus_9336pq
cisco nexus_9336pq_aci
cisco nexus_9336pq_aci_spine
cisco nexus_9336pq_aci_spine_switch
cisco nexus_93400ld-h1
cisco nexus_9348d-gx2a
cisco nexus_9348gc-fx3
cisco nexus_9348gc-fx3ph
cisco nexus_9348gc-fxp
cisco nexus_93600cd-gx
cisco nexus_9364c
cisco nexus_9364c-gx
cisco nexus_9364c-h1
cisco nexus_9364d-gx2a
cisco nexus_9372px
cisco nexus_9372px-e
cisco nexus_9372px-e_switch
cisco nexus_9372px_switch
cisco nexus_9372tx
cisco nexus_9372tx-e
cisco nexus_9372tx-e_switch
cisco nexus_9372tx_switch
cisco nexus_9396px
cisco nexus_9396px_switch
cisco nexus_9396tx
cisco nexus_9396tx_switch
cisco nexus_9408
cisco nexus_9432pq
cisco nexus_9500
cisco nexus_9500_16-slot
cisco nexus_9500_4-slot
cisco nexus_9500_8-slot
cisco nexus_9500_supervisor_a
cisco nexus_9500_supervisor_a\+
cisco nexus_9500_supervisor_b
cisco nexus_9500_supervisor_b\+
cisco nexus_9500r
cisco nexus_9504
cisco nexus_9504_switch
cisco nexus_9508
cisco nexus_9508_switch
cisco nexus_9516
cisco nexus_9516_switch
cisco nexus_9536pq
cisco nexus_9636pq
cisco nexus_9716d-gx
cisco nexus_9736pq
cisco nexus_9800
cisco nexus_9800_34-port_100g_and_14-port_400g_line_card
cisco nexus_9800_36-port_400g_line_card
cisco nexus_9804
cisco nexus_9808

References

Frequently Asked Questions

What is CVE-2024-20286? +
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. It has a CVSS v3.1 base score of 5.3 (MEDIUM).
How severe is CVE-2024-20286? +
CVE-2024-20286 has a CVSS v3.1 score of 5.3 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2024-20286? +
CVE-2024-20286 affects products from cisco, specifically: n9k-c92160yc-x, n9k-c92300yc, n9k-c92304qc, n9k-c9232c, n9k-c92348gc-x, n9k-c9236c, n9k-c9272q, n9k-c93108tc-ex, n9k-c93108tc-fx, n9k-c93120tx, n9k-c93128tx, n9k-c9316d-gx, n9k-c93180lc-ex, n9k-c93180yc-ex, n9k-c93180yc-fx, n9k-c93180yc2-fx, n9k-c93216tc-fx2, n9k-c93240yc-fx2, n9k-c9332c, n9k-c9332d-gx2b, n9k-c9332pq, n9k-c93360yc-fx2, n9k-c9336c-fx2, n9k-c9348d-gx2a, n9k-c9348gc-fxp, n9k-c93600cd-gx, n9k-c9364c, n9k-c9364c-gx, n9k-c9364d-gx2a, n9k-c9372px, n9k-c9372px-e, n9k-c9372tx, n9k-c9372tx-e, n9k-c9396px, n9k-c9396tx, n9k-c9504, n9k-c9504-fm-r, n9k-c9508, n9k-c9508-fm-r, n9k-c9516, n9k-sc-a, n9k-sup-a, n9k-sup-a\+, n9k-sup-b, n9k-sup-b\+, n9k-x9400-16w, n9k-x9400-22l, n9k-x9400-8d, n9k-x9432c-s, n9k-x9464px, n9k-x9464tx2, n9k-x9564px, n9k-x9564tx, n9k-x96136yc-r, n9k-x9636c-r, n9k-x9636c-rx, n9k-x9636q-r, n9k-x97160yc-ex, n9k-x97284yc-fx, n9k-x9732c-ex, n9k-x9732c-fx, n9k-x9736c-ex, n9k-x9736c-fx, n9k-x9788tc-fx, nexus_3000, nexus_3000_series, nexus_3016, nexus_3016q, nexus_3048, nexus_3064, nexus_3064-32t, nexus_3064-t, nexus_3064-x, nexus_3064t, nexus_3064x, nexus_3100, nexus_3100-v, nexus_3100-z, nexus_3100v, nexus_31108pc-v, nexus_31108pv-v, nexus_31108tc-v, nexus_31128pq, nexus_3132c-z, nexus_3132q, nexus_3132q-v, nexus_3132q-x, nexus_3132q-x\/3132q-xl, nexus_3132q-xl, nexus_3164q, nexus_3172, nexus_3172pq, nexus_3172pq-xl, nexus_3172pq\/pq-xl, nexus_3172tq, nexus_3172tq-32t, nexus_3172tq-xl, nexus_3200, nexus_3232, nexus_3232c, nexus_3232c_, nexus_3264c-e, nexus_3264q, nexus_3400, nexus_3408-s, nexus_34180yc, nexus_34200yc-sm, nexus_3432d-s, nexus_3464c, nexus_3500, nexus_3500_platform, nexus_3524, nexus_3524-x, nexus_3524-x\/xl, nexus_3524-xl, nexus_3548, nexus_3548-x, nexus_3548-x\/xl, nexus_3548-xl, nexus_3600, nexus_36180yc-r, nexus_3636c-r, nexus_9000, nexus_9000_in_aci_mode, nexus_9000_in_standalone, nexus_9000_in_standalone_nx-os_mode, nexus_9000v, nexus_9200, nexus_9200yc, nexus_92160yc-x, nexus_92160yc_switch, nexus_9221c, nexus_92300yc, nexus_92300yc_switch, nexus_92304qc, nexus_92304qc_switch, nexus_9232e, nexus_92348gc-x, nexus_9236c, nexus_9236c_switch, nexus_9272q, nexus_9272q_switch, nexus_9300, nexus_93108tc-ex, nexus_93108tc-ex-24, nexus_93108tc-ex_switch, nexus_93108tc-fx, nexus_93108tc-fx-24, nexus_93108tc-fx3, nexus_93108tc-fx3h, nexus_93108tc-fx3p, nexus_93120tx, nexus_93120tx_switch, nexus_93128, nexus_93128tx, nexus_93128tx_switch, nexus_9316d-gx, nexus_93180lc-ex, nexus_93180lc-ex_switch, nexus_93180tc-ex, nexus_93180yc-ex, nexus_93180yc-ex-24, nexus_93180yc-ex_switch, nexus_93180yc-fx, nexus_93180yc-fx-24, nexus_93180yc-fx3, nexus_93180yc-fx3h, nexus_93180yc-fx3s, nexus_93216tc-fx2, nexus_93240tc-fx2, nexus_93240yc-fx2, nexus_9332c, nexus_9332d-gx2b, nexus_9332d-h2r, nexus_9332pq, nexus_9332pq_switch, nexus_93360yc-fx2, nexus_9336c-fx2, nexus_9336c-fx2-e, nexus_9336pq, nexus_9336pq_aci, nexus_9336pq_aci_spine, nexus_9336pq_aci_spine_switch, nexus_93400ld-h1, nexus_9348d-gx2a, nexus_9348gc-fx3, nexus_9348gc-fx3ph, nexus_9348gc-fxp, nexus_93600cd-gx, nexus_9364c, nexus_9364c-gx, nexus_9364c-h1, nexus_9364d-gx2a, nexus_9372px, nexus_9372px-e, nexus_9372px-e_switch, nexus_9372px_switch, nexus_9372tx, nexus_9372tx-e, nexus_9372tx-e_switch, nexus_9372tx_switch, nexus_9396px, nexus_9396px_switch, nexus_9396tx, nexus_9396tx_switch, nexus_9408, nexus_9432pq, nexus_9500, nexus_9500_16-slot, nexus_9500_4-slot, nexus_9500_8-slot, nexus_9500_supervisor_a, nexus_9500_supervisor_a\+, nexus_9500_supervisor_b, nexus_9500_supervisor_b\+, nexus_9500r, nexus_9504, nexus_9504_switch, nexus_9508, nexus_9508_switch, nexus_9516, nexus_9516_switch, nexus_9536pq, nexus_9636pq, nexus_9716d-gx, nexus_9736pq, nexus_9800, nexus_9800_34-port_100g_and_14-port_400g_line_card, nexus_9800_36-port_400g_line_card, nexus_9804, nexus_9808, nx-os. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-20286? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-20286 — free, no signup required.