CVE-2022-0391: A flaw was found in Python, specifically within the urllib.parse module.
Noroxi assessment
Priority: Monitor (action score 33/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 8.5% (FIRST EPSS); higher than 95% of all records.
- 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.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: babel (AlmaLinux:8) 2.5.1-10.module_el8.6.0+2781+fed64c13; platform-python (AlmaLinux:8) 3.6.8-47.el8_6.alma; platform-python-debug (AlmaLinux:8) 3.6.8-47.el8_6.alma.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to babel (AlmaLinux:8) 2.5.1-10.module_el8.6.0+2781+fed64c13; platform-python (AlmaLinux:8) 3.6.8-47.el8_6.alma; platform-python-debug (AlmaLinux:8) 3.6.8-47.el8_6.alma or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
A flaw was found in Python, specifically within the urllib.parse module. This module helps break Uniform Resource Locator (URL) strings into components. The issue involves how the urlparse method does not sanitize input and allows characters like '\r' and '\n' in the URL path. This flaw allows an attacker to input a crafted URL, leading to injection attacks. This flaw affects Python versions prior to 3.10.0b1, 3.9.5, 3.8.11, 3.7.11 and 3.6.14.
- BDU:2022-02302
- ALSA-2022:1764
- ALSA-2022:1821
- ALSA-2022:6457
- DLA-3575-1
- DLA-3966-1
- DLA-4087-1
- openSUSE-SU-2022:1091-1
- openSUSE-SU-2024:11839-1
- RHSA-2021:3254
- RHSA-2022:1663
- RHSA-2022:1764
- RHSA-2022:1821
- RHSA-2022:6457
- RLSA-2022:1764
- RLSA-2022:1821
- SUSE-SU-2022:0882-1
- SUSE-SU-2022:1091-1
- SUSE-SU-2022:1140-1
- Published
- Feb 9, 2022
- Updated
- Oct 14, 2026
- EPSS
- 8.5% · 95th percentile
- CWE
- CWE-74
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 · 8.5%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.5
- CNA · redhat
- 7.5
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| python | python | cpe:2.3:a:python:python |
| netapp | active iq unified manager | cpe:2.3:a:netapp:active_iq_unified_manager |
| 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 | ontap select deploy administration utility | cpe:2.3:a:netapp:ontap_select_deploy_administration_utility |
| netapp | solidfire, enterprise sds & hci storage node | cpe:2.3:a:netapp:solidfire,_enterprise_sds_&_hci_storage_node |
| netapp | hci compute node | cpe:2.3:h:netapp:hci_compute_node |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| oracle | http server | cpe:2.3:a:oracle:http_server |
| oracle | zfs storage appliance kit | cpe:2.3:a:oracle:zfs_storage_appliance_kit |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- fedoraproject fedora34
- fedoraproject fedora35
- netapp active iq unified managerall versions
- netapp hciall versions
- netapp hci compute nodeall versions
- netapp management services for element softwareall versions
- netapp ontap select deploy administration utilityall versions
- netapp solidfire, enterprise sds & hci storage nodeall versions
- oracle http server12.2.1.3.0
- oracle http server12.2.1.4.0
- oracle zfs storage appliance kit8.8
- python python3.9.0 and later · before 3.9.5
- python python3.8.0 and later · before 3.8.11
- python python3.7.0 and later · before 3.7.11
- python pythonbefore 3.6.14
- python python3.10.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
- python 3.10.0b1, python 3.9.5, python 3.8.11, python 3.7.11, python 3.6.14affected
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-47.el8_6.alma | 3.6.8-47.el8_6.alma |
| AlmaLinux:8 | platform-python-debug | before 3.6.8-47.el8_6.alma | 3.6.8-47.el8_6.alma |
| AlmaLinux:8 | platform-python-devel | before 3.6.8-47.el8_6.alma | 3.6.8-47.el8_6.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
Published before and after this one in the same product
- ← EarlierCVE-2021-29921May 6, 2021 · In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the octets of an IP address string.41Plan
- ← EarlierCVE-2021-3426May 20, 2021 · There's a flaw in Python 3's pydoc.23Monitor
- Later →CVE-2021-3737Mar 4, 2022 · A flaw was found in python.34Monitor
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:python38 | 3.8.12-1.module_el8.6.0+2778+cd494b30 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python38-asn1crypto | 1.2.0-3.module_el8.6.0+2778+cd494b30 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python38-atomicwrites | 1.3.0-8.module_el8.6.0+2778+cd494b30 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python38-attrs | 19.3.0-3.module_el8.6.0+2778+cd494b30 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python38-babel | 2.7.0-11.module_el8.6.0+2778+cd494b30 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python38-cffi | 1.13.2-3.module_el8.6.0+2778+cd494b30 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python38-chardet | 3.0.4-19.module_el8.6.0+2778+cd494b30 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python38-cryptography | 2.8-3.module_el8.6.0+2778+cd494b30 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python38-Cython | 0.29.14-4.module_el8.6.0+2778+cd494b30 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python38-debug | 3.8.12-1.module_el8.6.0+2778+cd494b30 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python38-devel | 3.8.12-1.module_el8.6.0+2778+cd494b30 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python38-PyMySQL | 0.10.1-1.module_el8.6.0+2778+cd494b30 · AlmaLinux:8 | Package registry (OSV) |
| debian:pypy3 | 7.3.6+dfsg-1 · Debian:12 | Package registry (OSV) |
| debian:python2.7 | 2.7.16-2+deb10u3 · Debian:10 | Package registry (OSV) |
| debian:python3.9 | 3.9.2-1+deb11u3 · Debian:11 | Package registry (OSV) |
| opensuse:python | 2.7.18-150000.38.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:python-base | 2.7.18-150000.38.2 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:python-doc | 2.7.18-150000.38.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| red hat:rh-python38-babel | 0:2.7.0-12.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-python38-python | 0:3.8.11-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-python38-python-babel | 0:2.7.0-12.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-python38-python-cryptography | 0:2.8-5.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-python38-python-cryptography-debuginfo | 0:2.8-5.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-python38-python-debug | 0:3.8.11-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-python38-python-debuginfo | 0:3.8.11-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-python38-python-devel | 0:3.8.11-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-python38-python-idle | 0:3.8.11-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-python38-python-jinja2 | 0:2.10.3-6.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-python38-python-libs | 0:3.8.11-2.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
| red hat:rh-python38-python-lxml | 0:4.4.1-7.el7 · Red Hat:rhel_software_collections:3::el7 | Package registry (OSV) |
+17
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.
No commit or PR link among the references.
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).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0615 · Sep 14, 2022(RedHat Güvenlik Güncellemesi)
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
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
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.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- HTTP Request SplittingCAPEC-105likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
- Format String InjectionCAPEC-135likelihood: High · High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CSD2YBXP3ZF44E44QMIIAR5VTO35KTRB/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UDBDBAU6HUPZHISBOARTXZ5GKHF2VH5U/
- security.gentoo.org/glsa/202305-02
- security.netapp.com/advisory/ntap-20220225-0009/
- www.oracle.com/security-alerts/cpuapr2022.html
- lists.debian.org/debian-lts-announce/2024/11/msg00024.html
- lists.debian.org/debian-lts-announce/2025/03/msg00013.html
- cert-portal.siemens.com/productcert/html/ssa-398330.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.