A flaw was found in python.
A flaw was found in python. An improperly handled HTTP response in the HTTP client code of python may allow a remote attacker, who controls the HTTP server, to make the client script enter an infinite loop, consuming CPU time. The highest threat from this vulnerability is to system availability.
- BDU:2022-05830
- ALSA-2021:4160
- ALSA-2022:1764
- ALSA-2022:1821
- ALSA-2022:1986
- DLA-2808-1
- DLA-3432-1
- DLA-3477-1
- DLA-3966-1
- DLA-3980-1
- openSUSE-SU-2021:1418-1
- openSUSE-SU-2021:3489-1
- openSUSE-SU-2021:4104-1
- openSUSE-SU-2024:11286-1
- RHSA-2021:4160
- RHSA-2022:1663
- RHSA-2022:1764
- RHSA-2022:1821
- RHSA-2022:1986
- RLSA-2021:4160
- Published
- Mar 4, 2022
- Updated
- Jun 17, 2026
- EPSS
- 11.6% · 96th percentile
- CWE
- CWE-835
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
33
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 3 / 30 · 11.6%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| python | python | cpe:2.3:a:python:python |
| redhat | codeready linux builder | cpe:2.3:a:redhat:codeready_linux_builder |
| redhat | codeready linux builder for ibm z systems | cpe:2.3:a:redhat:codeready_linux_builder_for_ibm_z_systems |
| redhat | codeready linux builder for power little endian | cpe:2.3:a:redhat:codeready_linux_builder_for_power_little_endian |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux for ibm z systems | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems |
| redhat | enterprise linux for power little endian | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| netapp | hci | cpe:2.3:a:netapp:hci |
| netapp | management services for element software | cpe:2.3:a:netapp:management_services_for_element_software |
| netapp | netapp xcp smb | cpe:2.3:a:netapp:netapp_xcp_smb |
and 5 more
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- canonical ubuntu linux20.04
- canonical ubuntu linux21.04
- fedoraproject fedora33
- fedoraproject fedora34
- netapp hciall versions
- netapp management services for element softwareall versions
- netapp netapp xcp smball versions
- netapp ontap select deploy administration utilityall versions
- netapp xcp nfsall versions
- oracle communications cloud native core binding support function22.1.3
- oracle communications cloud native core network exposure function22.1.1
- oracle communications cloud native core policy22.2.0
- python python3.6.0 and later · before 3.6.14
- python python3.7.0 and later · before 3.7.11
- python python3.8.0 and later · before 3.8.11
- python python3.9.0 and later · before 3.9.6
- redhat codeready linux builder8.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
n/a python
- Fixed in python v3.6.14, python v3.7.11, python v3.8.11, python v3.9.6, python v3.10.0b2affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | babel | before 2.5.1-10.module_el8.6.0+2781+fed64c13 | 2.5.1-10.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | platform-python | before 3.6.8-45.el8.alma | 3.6.8-45.el8.alma |
| AlmaLinux:8 | platform-python-debug | before 3.6.8-45.el8.alma | 3.6.8-45.el8.alma |
| AlmaLinux:8 | platform-python-devel | before 3.6.8-45.el8.alma | 3.6.8-45.el8.alma |
| AlmaLinux:8 | python-nose-docs | before 1.3.7-31.module_el8.5.0+2569+5c5719bc | 1.3.7-31.module_el8.5.0+2569+5c5719bc |
| AlmaLinux:8 | python-nose-docs | before 1.3.7-31.module_el8.6.0+2781+fed64c13 | 1.3.7-31.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python-psycopg2-doc | before 2.7.5-7.module_el8.6.0+2781+fed64c13 | 2.7.5-7.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python-sqlalchemy-doc | before 1.3.2-2.module_el8.5.0+2569+5c5719bc | 1.3.2-2.module_el8.5.0+2569+5c5719bc |
| AlmaLinux:8 | python-sqlalchemy-doc | before 1.3.2-2.module_el8.6.0+2781+fed64c13 | 1.3.2-2.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2 | before 2.7.18-10.module_el8.6.0+2781+fed64c13.alma | 2.7.18-10.module_el8.6.0+2781+fed64c13.alma |
| AlmaLinux:8 | python2-attrs | before 17.4.0-10.module_el8.6.0+2781+fed64c13 | 17.4.0-10.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-babel | before 2.5.1-10.module_el8.6.0+2781+fed64c13 | 2.5.1-10.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-backports | before 1.0-16.module_el8.6.0+2781+fed64c13 | 1.0-16.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-backports-ssl_match_hostname | before 3.5.0.1-12.module_el8.6.0+2781+fed64c13 | 3.5.0.1-12.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-bson | before 3.7.0-1.module_el8.6.0+2781+fed64c13 | 3.7.0-1.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-chardet | before 3.0.4-10.module_el8.6.0+2781+fed64c13 | 3.0.4-10.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-coverage | before 4.5.1-4.module_el8.6.0+2781+fed64c13 | 4.5.1-4.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-Cython | before 0.28.1-7.module_el8.6.0+2781+fed64c13 | 0.28.1-7.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-debug | before 2.7.18-10.module_el8.6.0+2781+fed64c13.alma | 2.7.18-10.module_el8.6.0+2781+fed64c13.alma |
| AlmaLinux:8 | python2-devel | before 2.7.18-10.module_el8.6.0+2781+fed64c13.alma | 2.7.18-10.module_el8.6.0+2781+fed64c13.alma |
| AlmaLinux:8 | python2-dns | before 1.15.0-10.module_el8.6.0+2781+fed64c13 | 1.15.0-10.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-docs | before 2.7.16-2.module_el8.6.0+2781+fed64c13 | 2.7.16-2.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-docs-info | before 2.7.16-2.module_el8.6.0+2781+fed64c13 | 2.7.16-2.module_el8.6.0+2781+fed64c13 |
| AlmaLinux:8 | python2-docutils | before 0.14-12.module_el8.6.0+2781+fed64c13 | 0.14-12.module_el8.6.0+2781+fed64c13 |
+96
Same product
python: all recordsOther highest-scoring records for the same primary product.
- CVE-2016-5636Integer overflow in the get_data function in zipimport.c in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 all47Plan
- CVE-2007-4559Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted remot47Plan
- CVE-2021-3177Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain Pyth46Plan
- CVE-2014-4650The CGIHTTPServer module in Python 2.7.5 and 3.3.4 does not properly handle URLs in which URL encoding is used for path separators, which al46Plan
- CVE-2018-1000802Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command ('C45Plan
- CVE-2020-27619In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via HTTP.42Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:python39-attrs | 20.3.0-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-cffi | 1.14.3-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-chardet | 3.0.4-19.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-cryptography | 3.3.1-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-Cython | 0.29.21-5.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-idna | 2.10-3.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-iniconfig | 1.1.1-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-mod_wsgi | 4.7.1-4.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-more-itertools | 8.5.0-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-numpy | 1.19.4-3.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-numpy-doc | 1.19.4-3.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-PyMySQL | 0.10.1-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| debian:pypy3 | 7.3.8+dfsg-1 · Debian:12 | Package registry (OSV) |
| debian:python2.7 | 2.7.16-2+deb10u2 · Debian:10 | Package registry (OSV) |
| debian:python3.5 | 3.5.3-1+deb9u5 · Debian:9 | Package registry (OSV) |
| debian:python3.7 | 3.7.3-2+deb10u5 · Debian:10 | Package registry (OSV) |
| debian:python3.9 | 3.9.2-1+deb11u2 · Debian:11 | Package registry (OSV) |
| opensuse:python | 2.7.18-lp152.3.21.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:python-base | 2.7.18-lp152.3.21.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:python-doc | 2.7.18-lp152.3.21.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| opensuse:python3 | 3.6.15-10.9.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:python3-core | 3.6.15-10.9.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:python3-documentation | 3.6.15-10.9.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:python39 | 3.9.10-150300.4.8.2 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:python39-core | 3.9.10-150300.4.8.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:python39-documentation | 3.9.10-150300.4.8.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| red hat:mod_wsgi | 0:4.7.1-4.module+el8.4.0+9822+20bf1249 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:numpy | 0:1.19.4-3.module+el8.5.0+12204+54860423 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:numpy-debugsource | 0:1.19.4-3.module+el8.5.0+12204+54860423 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:python-cffi | 0:1.14.3-2.module+el8.4.0+9822+20bf1249 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
+30
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-835 · Loop with Unreachable Exit Condition ('Infinite Loop')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- bugzilla.redhat.com/show_bug.cgi?id=1995162
- github.com/python/cpython/pull/25916
- github.com/python/cpython/pull/26503
- lists.debian.org/debian-lts-announce/2023/05/msg00024.html
- lists.debian.org/debian-lts-announce/2023/06/msg00039.html
- python-security.readthedocs.io/vuln/urllib-100-continue-loop.html
- security.netapp.com/advisory/ntap-20220407-0009/
- ubuntu.com/security/CVE-2021-3737
- www.oracle.com/security-alerts/cpujul2022.html
- lists.debian.org/debian-lts-announce/2024/11/msg00024.html
- lists.debian.org/debian-lts-announce/2024/12/msg00000.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.