CVSS 3.1
7.4 highCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:NHigh (7.4). EPSS 2.8% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:NExplain CVE-2021-28861 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-28861?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-28861?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-28861 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.0.0 before 3.7.14 |
| python:python | from 3.8.0 before 3.8.14 |
| python:python | from 3.9.0 before 3.9.14 |
| python:python | from 3.10.0 before 3.10.6 |
| python:python | 3.11.0:alpha1 |
| python:python | 3.11.0:alpha2 |
| python:python | 3.11.0:alpha3 |
| python:python | 3.11.0:alpha4 |
| python:python | 3.11.0:alpha5 |
| python:python | 3.11.0:alpha6 |
| python:python | 3.11.0:alpha7 |
| python:python | 3.11.0:beta1 |
| python:python | 3.11.0:beta2 |
| python:python | 3.11.0:beta3 |
| fedoraproject:fedora | 35 |
| fedoraproject:fedora | 36 |
| fedoraproject:fedora | 37 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | pypy3 | 7.3.5+dfsg-2+deb11u4 | DLA-3966-1 |
| Debian | 11 | python3.9 | 3.9.2-1+deb11u2 | DLA-3980-1 |
| Debian | 12 | python3.11 | 3.11.0~b4-1 | DEBIAN-CVE-2021-28861 |
| Debian | 12, 13, 14 | pypy3 | 7.3.10+dfsg-1 | DEBIAN-CVE-2021-28861 |
| Ubuntu | 22.04:LTS | python3.10 | 3.10.6-1~22.04.1 | UBUNTU-CVE-2021-28861 |
| Ubuntu | Pro:16.04:LTS | python3.5 | 3.5.2-2ubuntu0~16.04.13+esm5 | UBUNTU-CVE-2021-28861 USN-5629-1 |
| Ubuntu | Pro:20.04:LTS | python3.9 | 3.9.5-3ubuntu0~20.04.1+esm1 | UBUNTU-CVE-2021-28861 USN-5888-1 |
| 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-2023:2763 |
| Red Hat | enterprise_linux:8::appstream | PyYAML, python38-pyyaml, PyYAML-debugsource and 1 more | 0:5.4.1-1.module+el8.5.0+10721+14d8e0d5 | RHSA-2023:2763 |
| Red Hat | enterprise_linux:8::appstream | PyYAML, python39-pyyaml, PyYAML-debugsource and 1 more | 0:5.4.1-1.module+el8.5.0+10613+59a13ec4 | RHSA-2023:2764 |
| Red Hat | enterprise_linux:8::appstream | babel, python38-babel | 0:2.7.0-11.module+el8.5.0+11015+9c1c7c42 | RHSA-2023:2763 |
| Red Hat | enterprise_linux:8::appstream | mod_wsgi, python38-mod_wsgi | 0:4.6.8-4.module+el8.7.0+16653+23ccaf52 | RHSA-2023:2763 |
| Red Hat | enterprise_linux:8::appstream | mod_wsgi, python39-mod_wsgi | 0:4.7.1-5.module+el8.7.0+16654+645aad7f | RHSA-2023:2764 |
| Red Hat | enterprise_linux:8::appstream | numpy, python38-numpy, numpy-debugsource and 3 more | 0:1.17.3-6.module+el8.5.0+12205+a865257a | RHSA-2023:2763 |
| Red Hat | enterprise_linux:8::appstream | numpy, python39-numpy, numpy-debugsource and 3 more | 0:1.19.4-3.module+el8.5.0+12204+54860423 | RHSA-2023:2764 |
| Red Hat | enterprise_linux:8::appstream | python-PyMySQL, python38-PyMySQL | 0:0.10.1-1.module+el8.4.0+9692+8e86ab84 | RHSA-2023:2763 |
| Red Hat | enterprise_linux:8::appstream | python-PyMySQL, python39-PyMySQL | 0:0.10.1-2.module+el8.4.0+9822+20bf1249 | RHSA-2023:2764 |
| Red Hat | enterprise_linux:8::appstream | python-asn1crypto, python38-asn1crypto | 0:1.2.0-3.module+el8.4.0+8888+89bc7e79 | RHSA-2023:2763 |
| Red Hat | enterprise_linux:8::appstream | python-cffi, python38-cffi, python-cffi-debugsource and 1 more | 0:1.13.2-3.module+el8.4.0+8888+89bc7e79 | RHSA-2023:2763 |
| 66 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 17 more | python3, python3-core | 3.6.15-150000.3.109.1 | SUSE-SU-2022:3593-1 |
| SUSE | Enterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 16 more | python, python-base | 2.7.18-150000.44.1 | SUSE-SU-2022:3512-2 |
| SUSE | Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP3 and 1 more | python3, python3-core | 3.6.15-150300.10.30.1 | SUSE-SU-2022:3544-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP3 | python39, python39-core | 3.9.14-150300.4.16.1 | SUSE-SU-2022:3485-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Python 2 15 SP3 | python, python-base | 2.7.18-150000.44.1 | SUSE-SU-2022:3512-1 |
| SUSE | Linux Enterprise Module for Desktop Applications 15 SP3 | python | 2.7.18-150000.44.1 | SUSE-SU-2022:3512-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP3 | python39-core | 3.9.14-150300.4.16.1 | SUSE-SU-2022:3485-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4 | python3-core | 3.6.15-150300.10.30.1 | SUSE-SU-2022:3544-1 |
| SUSE | Linux Enterprise Module for Python 3 15 SP4 | python310, python310-core | 3.10.7-150400.4.10.1 | SUSE-SU-2022:3473-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, python3-base | 3.4.10-25.96.1 | SUSE-SU-2022:3511-1 |
| SUSE | Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL | python, python-doc, python-base | 2.7.18-28.90.1 | SUSE-SU-2022:3940-1 |
| SUSE | Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS and 3 more | python3, python3-base | 3.4.10-25.96.1 | SUSE-SU-2022:3511-2 |
| 4 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.3, Leap 15.4 | python, python-doc, python-base | 2.7.18-150000.44.1 | SUSE-SU-2022:3512-1 |
| openSUSE | Leap 15.3, Leap 15.4 | python3, python3-core, python3-documentation | 3.6.15-150300.10.30.1 | SUSE-SU-2022:3544-1 |
| openSUSE | Leap 15.3, Leap 15.4 | python39, python39-core, python39-documentation | 3.9.14-150300.4.16.1 | SUSE-SU-2022:3485-1 |
| openSUSE | Leap 15.4 | python310, python310-core, python310-documentation | 3.10.7-150400.4.10.1 | SUSE-SU-2022:3473-1 |
| openSUSE | Leap Micro 5.2 | python3, python3-core | 3.6.15-150300.10.30.1 | SUSE-SU-2022:3544-1 |
| openSUSE | Tumbleweed | python | 2.7.18-23.1 | openSUSE-SU-2024:12321-1 |
| openSUSE | Tumbleweed | python310 | 3.10.6-3.1 | openSUSE-SU-2024:12297-1 |
| openSUSE | Tumbleweed | python38 | 3.8.13-4.1 | openSUSE-SU-2024:12300-1 |
| openSUSE | Tumbleweed | python39 | 3.9.13-5.1 | openSUSE-SU-2024:12301-1 |
| AlmaLinux | 8 | python3-idle, python3-libs, python3-test and 4 more | 3.6.8-48.el8_7.1.alma | ALSA-2023:0833 |
| AlmaLinux | 8 | python38, python38-idle, python38-libs and 5 more | 3.8.16-1.module_el8.8.0+3482+d5d93a3e | ALSA-2023:2763 |
| AlmaLinux | 8 | python38-Cython | 0.29.14-4.module_el8.6.0+2778+cd494b30 | ALSA-2023:2763 |
| AlmaLinux | 8 | python38-Cython | 0.29.14-4.module_el8.6.0+3163+f4472775 | ALSA-2023:2763 |
| AlmaLinux | 8 | python38-PyMySQL | 0.10.1-1.module_el8.6.0+2778+cd494b30 | ALSA-2023:2763 |
| AlmaLinux | 8 | python38-asn1crypto | 1.2.0-3.module_el8.6.0+2778+cd494b30 | ALSA-2023:2763 |
| AlmaLinux | 8 | python38-atomicwrites | 1.3.0-8.module_el8.6.0+2778+cd494b30 | ALSA-2023:2763 |
| AlmaLinux | 8 | python38-attrs | 19.3.0-3.module_el8.6.0+2778+cd494b30 | ALSA-2023:2763 |
| AlmaLinux | 8 | python38-babel | 2.7.0-11.module_el8.6.0+2778+cd494b30 | ALSA-2023:2763 |
| AlmaLinux | 8 | python38-cffi | 1.13.2-3.module_el8.6.0+2778+cd494b30 | ALSA-2023:2763 |
| AlmaLinux | 8 | python38-cffi | 1.13.2-3.module_el8.6.0+3163+f4472775 | ALSA-2023:2763 |
| AlmaLinux | 8 | python38-chardet | 3.0.4-19.module_el8.6.0+2778+cd494b30 | ALSA-2023:2763 |
| 79 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | Cython | 0:0.29.14-4.module+el8.9.0+1418+f0d66789 | RLSA-2023:2763 |
| Rocky Linux | 8 | Cython | 0:0.29.21-5.module+el8.10.0+1582+bc278001 | RLSA-2023:2764 |
| Rocky Linux | 8 | Cython | 0:0.29.21-5.module+el8.10.0+1860+afcc1c71 | RLSA-2023:2764 |
| Rocky Linux | 8 | PyYAML | 0:5.4.1-1.module+el8.10.0+1582+bc278001 | RLSA-2023:2763 RLSA-2023:2764 |
| Rocky Linux | 8 | PyYAML | 0:5.4.1-1.module+el8.10.0+1860+afcc1c71 | RLSA-2023:2763 RLSA-2023:2764 |
| Rocky Linux | 8 | PyYAML | 0:5.4.1-1.module+el8.9.0+1418+f0d66789 | RLSA-2023:2763 RLSA-2023:2764 |
| Rocky Linux | 8 | babel | 0:2.7.0-11.module+el8.9.0+1418+f0d66789 | RLSA-2023:2763 |
| Rocky Linux | 8 | numpy | 0:1.19.4-3.module+el8.10.0+1582+bc278001 | RLSA-2023:2764 |
| Rocky Linux | 8 | numpy | 0:1.19.4-3.module+el8.10.0+1860+afcc1c71 | RLSA-2023:2764 |
| Rocky Linux | 8 | pybind11 | 0:2.7.1-1.module+el8.9.0+1357+a3b80af7 | RLSA-2023:2764 |
| Rocky Linux | 8 | pytest | 0:4.6.6-3.module+el8.9.0+1418+f0d66789 | RLSA-2023:2763 |
| Rocky Linux | 8 | pytest | 0:6.0.2-2.module+el8.10.0+1582+bc278001 | RLSA-2023:2764 |
| 65 more for Rocky Linux in the JSON. | ||||
| Azure Linux | 2 | python3 | 3.9.19-1 | AZL-10618 |
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; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
This vulnerability is rated as a moderate because in Python's http.server module, an input validation flaw in lib/http/server.py allows for an open redirection. This issue is triggered when a remote, unauthenticated attacker (Attack Vector: Network, Privileges Required: None) convinces a user to access a crafted URL that begins with two forward slashes (//) leads to an information disclosure.
Versions of python36:3.6/python36 as shipped with Red Hat Enterprise Linux 8 are marked as 'Not affected' as they just provide "symlinks" to the main python3 component, which provides the actual interpreter of the Python programming language.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | python3-0:3.6.8-48.el8_7.1 | Fixed 2023-02-21 | RHSA-2023:0833 |
| Red Hat Enterprise Linux 8 | python38:3.8-8080020221221151857.0d9ba776 | Fixed 2023-05-16 | RHSA-2023:2763 |
| Red Hat Enterprise Linux 8 | python38-devel:3.8-8080020221221151857.0d9ba776 | Fixed 2023-05-16 | RHSA-2023:2763 |
| Red Hat Enterprise Linux 8 | python39:3.9-8080020221221152015.aed85c85 | Fixed 2023-05-16 | RHSA-2023:2764 |
| Red Hat Enterprise Linux 8 | python39-devel:3.9-8080020221221152015.aed85c85 | Fixed 2023-05-16 | RHSA-2023:2764 |
| Red Hat Enterprise Linux 9 | python3.9-0:3.9.14-1.el9 | Fixed 2022-11-15 | RHSA-2022:8353 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-python38-python-0:3.8.14-1.el7 | Fixed 2022-10-03 | RHSA-2022:6766 |
| Red Hat Enterprise Linux 6 | python | Not affected | |
| Red Hat Enterprise Linux 7 | python | Not affected | |
| Red Hat Enterprise Linux 7 | python3 | Out of support scope | |
| Red Hat Enterprise Linux 8 | python2 | Not affected | |
| Red Hat Enterprise Linux 8 | python27:2.7/python2 | Not affected | |
| Red Hat Enterprise Linux 8 | python36 | Not affected | |
| Red Hat Enterprise Linux 8 | python36:3.6/python36 | Not affected | |
| Red Hat Enterprise Linux 8 | python38 | Affected |
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-28861.
| 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.