CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8). EPSS 24% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2021-3177 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3177?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3177?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3177 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| python:python | from 3.6.0 through 3.6.12 |
| python:python | from 3.7.0 through 3.7.9 |
| python:python | from 3.8.0 through 3.8.7 |
| python:python | from 3.9.0 through 3.9.1 |
| fedoraproject:fedora | 32 |
| fedoraproject:fedora | 33 |
| debian:debian_linux | 9.0 |
| oracle:communications_cloud_native_core_network_function_cloud_native_environment | 22.2.0 |
| oracle:communications_offline_mediation_controller | 12.0.0.3.0 |
| oracle:communications_pricing_design_center | 12.0.0.3.0 |
| oracle:enterprise_manager_ops_center | 12.4.0.0 |
| oracle:zfs_storage_appliance_kit | 8.8 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | python2.7 | 2.7.13-2+deb9u6 | DLA-2919-1 |
| Debian | 9 | python3.5 | 3.5.3-1+deb9u4 | DLA-2619-1 |
| Debian | 10 | python2.7 | 2.7.16-2+deb10u2 | DLA-3432-1 |
| Debian | 11 | python2.7 | 2.7.18-2 | DEBIAN-CVE-2021-3177 |
| Debian | 11 | python3.9 | 3.9.1-3 | DEBIAN-CVE-2021-3177 |
| Ubuntu | 16.04:LTS | python2.7 | 2.7.12-1ubuntu0~16.04.18 | UBUNTU-CVE-2021-3177 USN-4754-1 USN-4754-4 |
| Ubuntu | 16.04:LTS | python3.5 | 3.5.2-2ubuntu0~16.04.13 | UBUNTU-CVE-2021-3177 USN-4754-1 |
| Ubuntu | 18.04:LTS | python2.7 | 2.7.17-1~18.04ubuntu1.6 | UBUNTU-CVE-2021-3177 USN-4754-1 USN-4754-4 |
| Ubuntu | 18.04:LTS | python3.6 | 3.6.9-1~18.04ubuntu1.4 | UBUNTU-CVE-2021-3177 USN-4754-1 |
| Ubuntu | 18.04:LTS | python3.7 | 3.7.5-2~18.04.4 | UBUNTU-CVE-2021-3177 USN-4754-3 |
| Ubuntu | 18.04:LTS | python3.8 | 3.8.0-3~18.04.1 | UBUNTU-CVE-2021-3177 USN-4754-3 |
| Ubuntu | 20.04:LTS | python2.7 | 2.7.18-1~20.04.1 | UBUNTU-CVE-2021-3177 USN-4754-3 |
| Ubuntu | 20.04:LTS | python3.8 | 3.8.5-1~20.04.2 | UBUNTU-CVE-2021-3177 USN-4754-1 USN-6891-1 |
| Ubuntu | 20.04:LTS | python3.9 | 3.9.5-3~20.04.1 | UBUNTU-CVE-2021-3177 |
| Ubuntu | 22.04:LTS | python3.10 | 3.10.12-1~22.04.4 | USN-6891-1 |
| Ubuntu | Pro:14.04:LTS | python2.7 | 2.7.6-8ubuntu0.6+esm10 | UBUNTU-CVE-2021-3177 USN-4754-1 USN-4754-5 |
| Ubuntu | Pro:14.04:LTS | python3.4 | 3.4.3-1ubuntu1~14.04.7+esm10 | UBUNTU-CVE-2021-3177 USN-4754-1 |
| 7 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstation | python, tkinter, python-libs and 5 more | 0:2.7.5-92.el7_9 | RHSA-2022:5235 |
| Red Hat | enterprise_linux:7::computenode | tkinter, python-test, python-debug and 2 more | 0:2.7.5-92.el7_9 | RHSA-2022:5235 |
| Red Hat | enterprise_linux:8::appstream | Cython, python2-Cython, Cython-debugsource and 1 more | 0:0.28.1-7.module+el8.1.0+3111+de3f2d8e | RHSA-2021:1761 |
| Red Hat | enterprise_linux:8::appstream | Cython, python38-Cython, Cython-debugsource and 1 more | 0:0.29.14-4.module+el8.4.0+8888+89bc7e79 | RHSA-2021:1879 |
| Red Hat | enterprise_linux:8::appstream | PyYAML, python2-pyyaml, PyYAML-debugsource and 1 more | 0:3.12-16.module+el8.1.0+3111+de3f2d8e | RHSA-2021:1761 |
| Red Hat | enterprise_linux:8::appstream | PyYAML, python38-pyyaml, PyYAML-debugsource and 1 more | 0:5.3.1-1.module+el8.4.0+8888+89bc7e79 | RHSA-2021:1879 |
| Red Hat | enterprise_linux:8::appstream | babel, python2-babel | 0:2.5.1-9.module+el8.1.0+3111+de3f2d8e | RHSA-2021:1761 |
| Red Hat | enterprise_linux:8::appstream | babel, python38-babel | 0:2.7.0-10.module+el8.4.0+8888+89bc7e79 | RHSA-2021:1879 |
| Red Hat | enterprise_linux:8::appstream | mod_wsgi, python38-mod_wsgi | 0:4.6.8-3.module+el8.4.0+8888+89bc7e79 | RHSA-2021:1879 |
| Red Hat | enterprise_linux:8::appstream | numpy, python2-numpy, numpy-debugsource and 3 more | 1:1.14.2-16.module+el8.4.0+9406+221a4565 | RHSA-2021:1761 |
| Red Hat | enterprise_linux:8::appstream | numpy, python38-numpy, numpy-debugsource and 3 more | 0:1.17.3-5.module+el8.4.0+8888+89bc7e79 | RHSA-2021:1879 |
| Red Hat | enterprise_linux:8::appstream | pytest, python2-pytest | 0:3.4.2-13.module+el8.1.0+3111+de3f2d8e | RHSA-2021:1761 |
| 73 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 14 more | python, python-base | 2.7.17-28.64.1 | SUSE-SU-2021:0432-1 |
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 14 more | python-doc | 2.7.17-28.64.3 | SUSE-SU-2021:0432-1 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 12 more | python, python-base | 2.7.17-7.52.2 | SUSE-SU-2021:0355-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP2 | python3, python3-core | 3.6.12-3.75.1 | SUSE-SU-2021:0529-1 |
| SUSE | Linux Enterprise Module for Desktop Applications 15 SP2 | python | 2.7.17-7.52.2 | SUSE-SU-2021:0355-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP2 | python3-core | 3.6.12-3.75.1 | SUSE-SU-2021:0529-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 | python36 | 3.6.12-4.33.3 | SUSE-SU-2021:0428-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 | python36-core | 3.6.12-4.33.1 | SUSE-SU-2021:0428-1 |
| SUSE | Linux Enterprise Workstation Extension 12 SP5 | python-base | 2.7.17-28.64.1 | SUSE-SU-2021:0432-1 |
| openSUSE | Leap 15.2 | python, python-doc, python-base | 2.7.17-lp152.3.12.1 | openSUSE-SU-2021:0270-1 |
| openSUSE | Leap 15.2 | python3, python3-core, python3-documentation | 3.6.12-lp152.4.17.1 | openSUSE-SU-2021:0331-1 |
| openSUSE | Tumbleweed | python | 2.7.18-8.1 | openSUSE-SU-2024:11202-1 |
| openSUSE | Tumbleweed | python310 | 3.10.0rc1-4.2 | openSUSE-SU-2024:11283-1 |
| openSUSE | Tumbleweed | python311 | 3.11.0b1-1.1 | openSUSE-SU-2024:12089-1 |
| openSUSE | Tumbleweed | python312 | 3.12.0a7-1.1 | openSUSE-SU-2024:12910-1 |
| openSUSE | Tumbleweed | python313 | 3.13.0~b3-1.1 | openSUSE-SU-2024:14109-1 |
| openSUSE | Tumbleweed | python314 | 3.14.0~a1-1.1 | openSUSE-SU-2024:14434-1 |
| openSUSE | Tumbleweed | python315 | 3.15.0~a1-1.1 | openSUSE-SU-2025:15713-1 |
| openSUSE | Tumbleweed | python36 | 3.6.15-1.1 | openSUSE-SU-2024:11284-1 |
| openSUSE | Tumbleweed | python38 | 3.8.12-1.2 | openSUSE-SU-2024:11285-1 |
| openSUSE | Tumbleweed | python39 | 3.9.7-2.1 | openSUSE-SU-2024:11286-1 |
| AlmaLinux | 8 | python-sqlalchemy-doc | 1.3.2-2.module_el8.5.0+2569+5c5719bc | ALSA-2021:1761 |
| AlmaLinux | 8 | python2-Cython | 0.28.1-7.module_el8.6.0+2781+fed64c13 | ALSA-2021:1761 |
| AlmaLinux | 8 | python2-PyMySQL | 0.8.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2021:1761 |
| AlmaLinux | 8 | python2-attrs | 17.4.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2021:1761 |
| AlmaLinux | 8 | python2-backports | 1.0-16.module_el8.6.0+2781+fed64c13 | ALSA-2021:1761 |
| AlmaLinux | 8 | python2-backports-ssl_match_hostname | 3.5.0.1-12.module_el8.6.0+2781+fed64c13 | ALSA-2021:1761 |
| AlmaLinux | 8 | python2-chardet | 3.0.4-10.module_el8.6.0+2781+fed64c13 | ALSA-2021:1761 |
| AlmaLinux | 8 | python2-coverage | 4.5.1-4.module_el8.6.0+2781+fed64c13 | ALSA-2021:1761 |
| AlmaLinux | 8 | python2-dns | 1.15.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2021:1761 |
| AlmaLinux | 8 | python2-docs, python2-docs-info | 2.7.16-2.module_el8.6.0+2781+fed64c13 | ALSA-2021:1761 |
| AlmaLinux | 8 | python2-docutils | 0.14-12.module_el8.6.0+2781+fed64c13 | ALSA-2021:1761 |
| AlmaLinux | 8 | python2-funcsigs | 1.0.2-13.module_el8.6.0+2781+fed64c13 | ALSA-2021:1761 |
| 37 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | Cython | 0:0.28.1-7.module+el8.4.0+403+9ae17a31 | RLSA-2021:1761 |
| Rocky Linux | 8 | Cython | 0:0.28.1-7.module+el8.5.0+706+735ec4b3 | RLSA-2021:1761 |
| Rocky Linux | 8 | Cython | 0:0.29.14-4.module+el8.4.0+570+c2eaf144 | RLSA-2021:1879 |
| Rocky Linux | 8 | PyYAML | 0:3.12-16.module+el8.4.0+403+9ae17a31 | RLSA-2021:1761 |
| Rocky Linux | 8 | PyYAML | 0:3.12-16.module+el8.5.0+706+735ec4b3 | RLSA-2021:1761 |
| Rocky Linux | 8 | PyYAML | 0:5.3.1-1.module+el8.4.0+570+c2eaf144 | RLSA-2021:1879 |
| Rocky Linux | 8 | babel | 0:2.5.1-9.module+el8.4.0+403+9ae17a31 | RLSA-2021:1761 |
| Rocky Linux | 8 | babel | 0:2.7.0-10.module+el8.4.0+570+c2eaf144 | RLSA-2021:1879 |
| Rocky Linux | 8 | mod_wsgi | 0:4.6.8-3.module+el8.4.0+570+c2eaf144 | RLSA-2021:1879 |
| Rocky Linux | 8 | numpy | 0:1.17.3-5.module+el8.4.0+570+c2eaf144 | RLSA-2021:1879 |
| Rocky Linux | 8 | numpy | 1:1.14.2-16.module+el8.4.0+403+9ae17a31 | RLSA-2021:1761 |
| Rocky Linux | 8 | numpy | 1:1.14.2-16.module+el8.5.0+706+735ec4b3 | RLSA-2021:1761 |
| 84 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.10 | python3 | 3.7.7-r2 | ALPINE-CVE-2021-3177 |
| Alpine | v3.11 | python3 | 3.8.2-r2 | ALPINE-CVE-2021-3177 |
| Alpine | v3.12 | python3 | 3.8.5-r1 | ALPINE-CVE-2021-3177 |
| Alpine | v3.13 | python3 | 3.8.7-r1 | ALPINE-CVE-2021-3177 |
| Alpine | v3.14, v3.15 | python2 | 2.7.18-r1 | ALPINE-CVE-2021-3177 |
| Alpine | v3.14, v3.15, v3.16 and 8 more | python3 | 3.8.7-r2 | ALPINE-CVE-2021-3177 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
This flaw could have had a higher Impact, however our packages are compiled with FORTIFY_SOURCE, which provides runtime protection to some memory and string functions and prevents this flaw from actually overwriting the buffer and potentially executing code.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | python-0:2.7.5-92.el7_9 | Fixed 2022-06-28 | RHSA-2022:5235 |
| Red Hat Enterprise Linux 8 | python3-0:3.6.8-37.el8 | Fixed 2021-05-18 | RHSA-2021:1633 |
| Red Hat Enterprise Linux 8 | python27:2.7-8040020210122160212.cdb2db54 | Fixed 2021-05-18 | RHSA-2021:1761 |
| Red Hat Enterprise Linux 8 | python38:3.8-8040020210128125034.b1b639b6 | Fixed 2021-05-18 | RHSA-2021:1879 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-babel-0:0.9.6-10.el7 | Fixed 2021-08-24 | RHSA-2021:3252 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-0:2.7.18-3.el7 | Fixed 2021-08-24 | RHSA-2021:3252 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-jinja2-0:2.6-16.el7 | Fixed 2021-08-24 | RHSA-2021:3252 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-pygments-0:1.5-5.el7 | Fixed 2021-08-24 | RHSA-2021:3252 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-babel-0:2.7.0-12.el7 | Fixed 2021-08-24 | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-python-0:3.8.11-2.el7 | Fixed 2021-08-24 | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-python-cryptography-0:2.8-5.el7 | Fixed 2021-08-24 | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-python-jinja2-0:2.10.3-6.el7 | Fixed 2021-08-24 | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-python-lxml-0:4.4.1-7.el7 | Fixed 2021-08-24 | RHSA-2021:3254 |
| Red Hat Enterprise Linux 5 | python | Out of support scope | |
| Red Hat Enterprise Linux 6 | python | Out of support scope | |
| Red Hat Enterprise Linux 7 | python3 | Out of support scope | |
| Red Hat Enterprise Linux 8 | python36:3.6/python36 | Not affected | |
| Red Hat Enterprise Linux 8 | python39:3.9/python39 | Not affected | |
| Red Hat Enterprise Linux 9 | python2.7 | Affected | |
| Red Hat Enterprise Linux 9 | python3.9 | Not affected | |
| 13 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3177.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-23-348-10 | Siemens SIMATIC S7-1500 | 2023-12-12 | Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and Facilities | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).