{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min. It affects 10 products.","exploited":"There is no known exploitation of CVE-2022-0391 in the wild and no public exploit code.","fix":"Upgrade libpython to a fixed version for your release line: 3.6.14, 3.7.11, 3.8.11 or 3.9.5.","what":"CVE-2022-0391 is a high-severity vulnerability in Fedoraproject Fedora, published on 9 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-0391 and fix it if it is affected.\n\nWhat it is: CVE-2022-0391 is a high-severity vulnerability in Fedoraproject Fedora, published on 9 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-0391 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- libpython (Bitnami): affected all versions; fixed in 3.6.14, 3.7.11, 3.8.11, 3.9.5\n- python (Bitnami): affected all versions; fixed in 3.6.14, 3.7.11, 3.8.11, 3.9.5\n- python-min (Bitnami): affected all versions; fixed in 3.6.14, 3.7.11, 3.8.11, 3.9.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-0391/ (Markdown: https://insights.sbomify.com/CVE-2022-0391/index.md)","id":"CVE-2022-0391","markdown":"https://insights.sbomify.com/CVE-2022-0391/index.md","name":"CVE-2022-0391","record":{"aliases":["AZL-109641","BIT-libpython-2022-0391","BIT-python-2022-0391","BIT-python-min-2022-0391","CLSA-2022-1646665957","CLSA-2022-1646666442","CLSA-2022-1647254655","CLSA-2022-1654106859","DEBIAN-CVE-2022-0391","GHSA-75jm-2xrg-5wpf","PSF-2022-8","UBUNTU-CVE-2022-0391","openSUSE-SU-2024:11839-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["other"],"network_reachable":"yes","non_default_config":false,"product_category":"Python standard library","requires_auth":"none","summary":"Attackers can inject CRLF characters into URLs via the urllib.parse module, potentially leading to injection attacks in applications using this library.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"hci","vendor":"netapp"},{"product":"hci_compute_node","vendor":"netapp"},{"product":"management_services_for_element_software","vendor":"netapp"},{"product":"ontap_select_deploy_administration_utility","vendor":"netapp"},{"product":"solidfire\\,_enterprise_sds_\\\u0026_hci_storage_node","vendor":"netapp"},{"product":"http_server","vendor":"oracle"},{"product":"zfs_storage_appliance_kit","vendor":"oracle"},{"product":"python","vendor":"python"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"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.","ecosystems":["Bitnami","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Other in python","id":"CVE-2022-0391","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"fedoraproject:fedora","products":["fedoraproject:fedora","netapp:active_iq_unified_manager","netapp:hci_compute_node","netapp:ontap_select_deploy_administration_utility","oracle:http_server","oracle:zfs_storage_appliance_kit","python:python"],"type":"other","year":"2022"},"n_packages":4,"n_references":7,"next":{"headline":"Heap-based Buffer Overflow in vim/vim","id":"CVE-2022-0392"},"packages":[{"ecosystem":"Bitnami","fixed":["3.6.14","3.7.11","3.8.11","3.9.5"],"introduced":["0","3.7.0","3.8.0","3.9.0"],"last_affected":[],"package":"libpython","purl":"pkg:bitnami/libpython","source":"BIT-libpython-2022-0391"},{"ecosystem":"Bitnami","fixed":["3.6.14","3.7.11","3.8.11","3.9.5"],"introduced":["0","3.7.0","3.8.0","3.9.0"],"last_affected":[],"package":"python","purl":"pkg:bitnami/python","source":"BIT-python-2022-0391"},{"ecosystem":"Bitnami","fixed":["3.6.14","3.7.11","3.8.11","3.9.5"],"introduced":["0","3.7.0","3.8.0","3.9.0"],"last_affected":[],"package":"python-min","purl":"pkg:bitnami/python-min","source":"BIT-python-min-2022-0391"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.7.18-16.1"],"introduced":["0"],"last_affected":[],"package":"python","purl":"pkg:rpm/opensuse/python\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11839-1"}],"prev":{"headline":"Missing authorization in GitLab","id":"CVE-2022-0390"},"products":["python"],"published":"2022-02-09","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"Attackers can inject CRLF characters into URLs via the urllib.parse module, potentially leading to injection attacks in applications using this library.","url":"https://insights.sbomify.com/CVE-2022-0391/"}