CVSS 3.1
5.3 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NMedium (5.3). EPSS 3.6% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NExplain CVE-2021-4189 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4189?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4189?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-4189 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 before 3.6.14 |
| python:python | from 3.7.0 before 3.7.11 |
| python:python | from 3.8.0 before 3.8.9 |
| python:python | from 3.9.0 before 3.9.3 |
| python:python | 3.10.0 |
| debian:debian_linux | 10.0 |
| debian:debian_linux | 11.0 |
| redhat:enterprise_linux | 8.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | python2.7 | 2.7.13-2+deb9u6 | DLA-2919-1 |
| Debian | 10 | python2.7 | 2.7.16-2+deb10u2 | DLA-3432-1 |
| Debian | 10 | python3.7 | 3.7.3-2+deb10u5 | DLA-3477-1 |
| Debian | 11 | python3.9 | 3.9.2-1+deb11u2 | DLA-3980-1 |
| Debian | 12, 13, 14 | pypy3 | 7.3.5+dfsg-2 | DEBIAN-CVE-2021-4189 |
| Ubuntu | 18.04:LTS | python2.7 | 2.7.17-1~18.04ubuntu1.7 | UBUNTU-CVE-2021-4189 USN-5342-1 |
| Ubuntu | 18.04:LTS | python3.6 | 3.6.9-1~18.04ubuntu1.7 | UBUNTU-CVE-2021-4189 USN-5342-1 |
| Ubuntu | 20.04:LTS | python3.8 | 3.8.10-0ubuntu1~20.04.10 | USN-6891-1 |
| Ubuntu | 20.04:LTS | python3.8 | 3.8.10-0ubuntu1~20.04.4 | USN-5342-1 |
| Ubuntu | 22.04:LTS | python3.10 | 3.10.12-1~22.04.16 | USN-8509-1 |
| Ubuntu | 22.04:LTS | python3.10 | 3.10.12-1~22.04.4 | USN-6891-1 |
| Ubuntu | 24.04:LTS | python3.12 | 3.12.3-1ubuntu0.15 | USN-8509-1 |
| Ubuntu | 26.04:LTS | python3.14 | 3.14.4-1ubuntu0.1 | USN-8509-1 |
| Ubuntu | Pro:14.04:LTS | python2.7 | 2.7.6-8ubuntu0.6+esm12 | UBUNTU-CVE-2021-4189 USN-5342-2 |
| Ubuntu | Pro:14.04:LTS | python3.4 | 3.4.3-1ubuntu1~14.04.7+esm12 | UBUNTU-CVE-2021-4189 USN-5342-1 |
| Ubuntu | Pro:14.04:LTS | python3.5 | 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1 | UBUNTU-CVE-2021-4189 USN-6891-1 |
| Ubuntu | Pro:16.04:LTS | python2.7 | 2.7.12-1ubuntu0~16.04.18+esm1 | UBUNTU-CVE-2021-4189 USN-5342-1 |
| 8 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| 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-2022:1821 |
| 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-2022:1821 |
| Red Hat | enterprise_linux:8::appstream | babel, python2-babel | 0:2.5.1-10.module+el8.5.0+11014+88fc0d0b | RHSA-2022:1821 |
| 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-2022:1821 |
| Red Hat | enterprise_linux:8::appstream | pytest, python2-pytest | 0:3.4.2-13.module+el8.1.0+3111+de3f2d8e | RHSA-2022:1821 |
| Red Hat | enterprise_linux:8::appstream | python-PyMySQL, python2-PyMySQL | 0:0.8.0-10.module+el8.1.0+3111+de3f2d8e | RHSA-2022:1821 |
| Red Hat | enterprise_linux:8::appstream | python-attrs, python2-attrs | 0:17.4.0-10.module+el8.1.0+3111+de3f2d8e | RHSA-2022:1821 |
| Red Hat | enterprise_linux:8::appstream | python-backports, python2-backports | 0:1.0-16.module+el8.4.0+9193+f3daf6ef | RHSA-2022:1821 |
| Red Hat | enterprise_linux:8::appstream | python-backports-ssl_match_hostname, python2-backports-ssl_match_hostname | 0:3.5.0.1-12.module+el8.4.0+9193+f3daf6ef | RHSA-2022:1821 |
| Red Hat | enterprise_linux:8::appstream | python-chardet, python2-chardet | 0:3.0.4-10.module+el8.1.0+3111+de3f2d8e | RHSA-2022:1821 |
| Red Hat | enterprise_linux:8::appstream | python-coverage, python2-coverage, python2-coverage-debuginfo and 1 more | 0:4.5.1-4.module+el8.1.0+3111+de3f2d8e | RHSA-2022:1821 |
| Red Hat | enterprise_linux:8::appstream | python-dns, python2-dns | 0:1.15.0-10.module+el8.1.0+3111+de3f2d8e | RHSA-2022:1821 |
| 40 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Desktop Applications 15 SP3, Linux Enterprise Module for Python 2 15 SP3 and 1 more | python | 2.7.18-150000.38.1 | SUSE-SU-2022:1091-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Python 2 15 SP3, Linux Enterprise Real Time 15 SP2 | python-base | 2.7.18-150000.38.2 | SUSE-SU-2022:1091-1 |
| SUSE | Linux Enterprise Module for Web and Scripting 12, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 more | python3 | 3.4.10-25.85.2 | SUSE-SU-2022:0882-1 |
| SUSE | Linux Enterprise Module for Web and Scripting 12, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 more | python3-base | 3.4.10-25.85.1 | SUSE-SU-2022:0882-1 |
| SUSE | Linux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 3 more | python, python-doc, python-base | 2.7.18-33.8.1 | SUSE-SU-2022:1140-1 |
| SUSE | Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6 | python312, python312-core | 3.12.14-150600.3.68.1 | SUSE-SU-2026:4534-1 |
| SUSE | Linux Enterprise Workstation Extension 12 SP5 | python-base | 2.7.18-33.8.1 | SUSE-SU-2022:1140-1 |
| SUSE | Linux Micro 6.1 | python311, python311-core | 3.11.16-slfo.1.1_1.1 | SUSE-SU-2026:23743-1 |
| SUSE | Linux Micro 6.2 | python3, python313, python313-core | 3.13.14-160000.1.1 | SUSE-SU-2026:22959-1 |
| openSUSE | Leap 15.3 | python, python-doc | 2.7.18-150000.38.1 | openSUSE-SU-2022:1091-1 |
| openSUSE | Leap 15.3 | python-base | 2.7.18-150000.38.2 | openSUSE-SU-2022:1091-1 |
| openSUSE | Leap 16.0 | python3, python313, python313-core and 3 more | 3.13.14-160000.1.1 | openSUSE-SU-2026:21459-1 |
| openSUSE | Tumbleweed | python | 2.7.18-15.1 | openSUSE-SU-2024:11835-1 |
| openSUSE | Tumbleweed | python310 | 3.10.21-1.1 | openSUSE-SU-2026:11747-1 |
| openSUSE | Tumbleweed | python311 | 3.11.16-1.1 | openSUSE-SU-2026:11756-1 |
| openSUSE | Tumbleweed | python312 | 3.12.14-1.1 | openSUSE-SU-2026:11757-1 |
| openSUSE | Tumbleweed | python313 | 3.13.14-1.1 | openSUSE-SU-2026:11342-1 |
| openSUSE | Tumbleweed | python314 | 3.14.6-1.1 | openSUSE-SU-2026:11181-1 |
| openSUSE | Tumbleweed | python315 | 3.15.0~b2-1.1 | openSUSE-SU-2026:11101-1 |
| openSUSE | Tumbleweed | python316 | 3.16.0~a1-1.1 | openSUSE-SU-2026:12477-1 |
| AlmaLinux | 8 | babel, python2-babel | 2.5.1-10.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| AlmaLinux | 8 | python-nose-docs | 1.3.7-31.module_el8.5.0+2569+5c5719bc | ALSA-2022:1821 |
| AlmaLinux | 8 | python-sqlalchemy-doc | 1.3.2-2.module_el8.5.0+2569+5c5719bc | ALSA-2022:1821 |
| AlmaLinux | 8 | python2, python2-libs, python2-test and 4 more | 2.7.18-10.module_el8.6.0+2781+fed64c13.alma | ALSA-2022:1821 |
| AlmaLinux | 8 | python2-Cython | 0.28.1-7.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| AlmaLinux | 8 | python2-PyMySQL | 0.8.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| AlmaLinux | 8 | python2-attrs | 17.4.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| AlmaLinux | 8 | python2-backports | 1.0-16.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| AlmaLinux | 8 | python2-backports-ssl_match_hostname | 3.5.0.1-12.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| AlmaLinux | 8 | python2-bson, python2-pymongo, python2-pymongo-gridfs | 3.7.0-1.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| AlmaLinux | 8 | python2-chardet | 3.0.4-10.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| AlmaLinux | 8 | python2-coverage | 4.5.1-4.module_el8.6.0+2781+fed64c13 | ALSA-2022:1821 |
| 33 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | Cython | 0:0.28.1-7.module+el8.4.0+403+9ae17a31 | RLSA-2022:1821 |
| Rocky Linux | 8 | Cython | 0:0.28.1-7.module+el8.5.0+706+735ec4b3 | RLSA-2022:1821 |
| Rocky Linux | 8 | PyYAML | 0:3.12-16.module+el8.4.0+403+9ae17a31 | RLSA-2022:1821 |
| Rocky Linux | 8 | PyYAML | 0:3.12-16.module+el8.5.0+706+735ec4b3 | RLSA-2022:1821 |
| Rocky Linux | 8 | babel | 0:2.5.1-10.module+el8.5.0+706+735ec4b3 | RLSA-2022:1821 |
| Rocky Linux | 8 | numpy | 1:1.14.2-16.module+el8.4.0+403+9ae17a31 | RLSA-2022:1821 |
| Rocky Linux | 8 | numpy | 1:1.14.2-16.module+el8.5.0+706+735ec4b3 | RLSA-2022:1821 |
| Rocky Linux | 8 | pytest | 0:3.4.2-13.module+el8.4.0+403+9ae17a31 | RLSA-2022:1821 |
| Rocky Linux | 8 | pytest | 0:3.4.2-13.module+el8.5.0+706+735ec4b3 | RLSA-2022:1821 |
| Rocky Linux | 8 | python-PyMySQL | 0:0.8.0-10.module+el8.3.0+120+426d8baf | RLSA-2022:1821 |
| Rocky Linux | 8 | python-PyMySQL | 0:0.8.0-10.module+el8.5.0+706+735ec4b3 | RLSA-2022:1821 |
| Rocky Linux | 8 | python-attrs | 0:17.4.0-10.module+el8.4.0+403+9ae17a31 | RLSA-2022:1821 |
| 53 more for Rocky Linux in the JSON. | ||||
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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | python27:2.7-8060020220210185952.8cdc2268 | Fixed 2022-05-10 | RHSA-2022:1821 |
| Red Hat Enterprise Linux 8 | python3-0:3.6.8-45.el8 | Fixed 2022-05-10 | RHSA-2022:1986 |
| 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 Software Collections for Red Hat Enterprise Linux 7 | rh-python38-python-pip-0:19.3.1-2.el7 | Fixed 2021-08-24 | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-python-urllib3-0:1.25.7-7.el7 | Fixed 2021-08-24 | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-0:2.7.18-4.el7 | Fixed 2022-05-02 | RHSA-2022:1663 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | 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.7 EUS | 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.7 EUS | 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.7 EUS | rh-python38-python-jinja2-0:2.10.3-6.el7 | Fixed 2021-08-24 | RHSA-2021:3254 |
| Red Hat Enterprise Linux 6 | python | Out of support scope | |
| Red Hat Enterprise Linux 7 | 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 | python38:3.8/python38 | Not affected | |
| Red Hat Enterprise Linux 8 | python39:3.9/python39 | Not affected | |
| 3 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-4189.
| 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.