{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-9740 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2019-9740 is a medium-severity vulnerability in Python Python, published on 13 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-9740 and fix it if it is affected.\n\nWhat it is: CVE-2019-9740 is a medium-severity vulnerability in Python Python, published on 13 Mar 2019. 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-2019-9740 in the wild and no public exploit code.\n\nAffected product: Python Python. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2019-9740/ (Markdown: https://insights.sbomify.com/CVE-2019-9740/index.md)","id":"CVE-2019-9740","markdown":"https://insights.sbomify.com/CVE-2019-9740/index.md","name":"CVE-2019-9740","record":{"aliases":["DEBIAN-CVE-2019-9740","GHSA-p3j2-v862-h3v3","PSF-2019-10","UBUNTU-CVE-2019-9740","openSUSE-SU-2024:11204-1","openSUSE-SU-2024:14128-1","openSUSE-SU-2026:11378-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 sequences into HTTP headers or Redis commands via URL parameters in Python's urllib, potentially leading to request smuggling or cache poisoning.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"python","vendor":"python"}],"cvss":{"score":6.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"description":"An issue was discovered in urllib2 in Python 2.x through 2.7.16 and urllib in Python 3.x through 3.7.3. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the first argument to urllib.request.urlopen with \\r\\n (specifically in the query string after a ? character) followed by an HTTP header or a Redis command. This is fixed in: v2.7.17, v2.7.17rc1, v2.7.18, v2.7.18rc1; v3.5.10, v3.5.10rc1, v3.5.8, v3.5.8rc1, v3.5.8rc2, v3.5.9; v3.6.10, v3.6.10rc1, v3.6.11, v3.6.11rc1, v3.6.12, v3.6.9, v3.6.9rc1; v3.7.4, v3.7.4rc1, v3.7.4rc2, v3.7.5, v3.7.5rc1, v3.7.6, v3.7.6rc1, v3.7.7, v3.7.7rc1, v3.7.8, v3.7.8rc1, v3.7.9.","ecosystems":["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 n/a","id":"CVE-2019-9740","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"python:python","products":["python:python"],"type":"other","year":"2019"},"n_packages":3,"n_references":29,"next":{"headline":"Other in n/a","id":"CVE-2019-9741"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["18.10.0-4.1"],"introduced":["0"],"last_affected":[],"package":"python-CherryPy","purl":"pkg:rpm/opensuse/python-CherryPy\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11378-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["18.6.1-1.2"],"introduced":["0"],"last_affected":[],"package":"python-CherryPy","purl":"pkg:rpm/opensuse/python-CherryPy\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11204-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["18.9.0-3.3"],"introduced":["0"],"last_affected":[],"package":"python-CherryPy","purl":"pkg:rpm/opensuse/python-CherryPy\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14128-1"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2019-9738"},"products":["n/a"],"published":"2019-03-13","related":[{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2008-5031","kev_date_added":null,"published":"2008-11-10"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2014-4650","kev_date_added":null,"published":"2020-02-20"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2016-5636","kev_date_added":null,"published":"2016-09-02"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2007-4559","kev_date_added":null,"published":"2007-08-28"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2017-17522","kev_date_added":null,"published":"2017-12-14"},{"cvss_score":8.7,"headline":"Incremental HTMLParser feed() allows CPU-exhaustion DoS via repeated unterminated markup declarations","id":"CVE-2026-15308","kev_date_added":null,"published":"2026-07-09"},{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2019-13404","kev_date_added":null,"published":"2019-07-08"}],"sources":[{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"Attackers can inject CRLF sequences into HTTP headers or Redis commands via URL parameters in Python's urllib, potentially leading to request smuggling or cache poisoning.","url":"https://insights.sbomify.com/CVE-2019-9740/"}