Skip to content
Noroxi
CVE-2019-9740· NVD / CVE Program· CNA mitre

An issue was discovered in urllib2 in Python 2.x through 2.7.16 and urllib in Python 3.x through 3.7.3.

Noroxi assessment

Priority: Monitor (action score 26/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: 5.4% (FIRST EPSS); higher than 92.6% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
  • Fixed version: python-psycopg2-doc (AlmaLinux:8) 2.7.5-7.module_el8.6.0+2781+fed64c13; python2-attrs (AlmaLinux:8) 17.4.0-10.module_el8.6.0+2781+fed64c13; python2-chardet (AlmaLinux:8) 3.0.4-10.module_el8.6.0+2781+fed64c13.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to python-psycopg2-doc (AlmaLinux:8) 2.7.5-7.module_el8.6.0+2781+fed64c13; python2-attrs (AlmaLinux:8) 17.4.0-10.module_el8.6.0+2781+fed64c13; python2-chardet (AlmaLinux:8) 3.0.4-10.module_el8.6.0+2781+fed64c13 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

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.

MediumCVSS 6.1 · v3.1—No exploit Fix available
Published
Mar 13, 2019
Updated
Oct 14, 2026
EPSS
5.4% · 92th percentile

Report tools

JSON

Action score

26

Monitor

Low priority for now.

CVSS
24 / 40 · 6.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
2 / 30 · 5.4%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
6.1
CNA · mitre
6.5
0.4 point gap

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

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.

Follow CVE-2019-9740

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

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 help

Affected 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.

VendorProduct
pythonpython

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • python python2.0 and later · before 2.7.17
  • python python3.5.0 and later · before 3.5.8
  • python python3.6.0 and later · before 3.6.9
  • python python3.7.0 and later · before 3.7.4

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8python-psycopg2-docbefore 2.7.5-7.module_el8.6.0+2781+fed64c132.7.5-7.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-attrsbefore 17.4.0-10.module_el8.6.0+2781+fed64c1317.4.0-10.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-chardetbefore 3.0.4-10.module_el8.6.0+2781+fed64c133.0.4-10.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-coveragebefore 4.5.1-4.module_el8.6.0+2781+fed64c134.5.1-4.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-Cythonbefore 0.28.1-7.module_el8.6.0+2781+fed64c130.28.1-7.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-dnsbefore 1.15.0-10.module_el8.6.0+2781+fed64c131.15.0-10.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-docsbefore 2.7.16-2.module_el8.6.0+2781+fed64c132.7.16-2.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-docs-infobefore 2.7.16-2.module_el8.6.0+2781+fed64c132.7.16-2.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-docutilsbefore 0.14-12.module_el8.6.0+2781+fed64c130.14-12.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-funcsigsbefore 1.0.2-13.module_el8.6.0+2781+fed64c131.0.2-13.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-idnabefore 2.5-7.module_el8.6.0+2781+fed64c132.5-7.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-ipaddressbefore 1.0.18-6.module_el8.6.0+2781+fed64c131.0.18-6.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-markupsafebefore 0.23-19.module_el8.6.0+2781+fed64c130.23-19.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-mockbefore 2.0.0-13.module_el8.6.0+2781+fed64c132.0.0-13.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-pluggybefore 0.6.0-8.module_el8.6.0+2781+fed64c130.6.0-8.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-psycopg2before 2.7.5-7.module_el8.6.0+2781+fed64c132.7.5-7.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-psycopg2-debugbefore 2.7.5-7.module_el8.6.0+2781+fed64c132.7.5-7.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-psycopg2-testsbefore 2.7.5-7.module_el8.6.0+2781+fed64c132.7.5-7.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-pybefore 1.5.3-6.module_el8.6.0+2781+fed64c131.5.3-6.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-PyMySQLbefore 0.8.0-10.module_el8.6.0+2781+fed64c130.8.0-10.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-pysocksbefore 1.6.8-6.module_el8.6.0+2781+fed64c131.6.8-6.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-pytestbefore 3.4.2-13.module_el8.6.0+2781+fed64c133.4.2-13.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-pytest-mockbefore 1.9.0-4.module_el8.6.0+2781+fed64c131.9.0-4.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-pytzbefore 2017.2-12.module_el8.6.0+2781+fed64c132017.2-12.module_el8.6.0+2781+fed64c13

+96

Other 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 all
    47Plan
  • CVE-2007-4559Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted remot
    47Plan
  • 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 Pyth
    46Plan

Published before and after this one in the same product

  • ← EarlierCVE-2018-20406Dec 23, 2018 · Modules/_pickle.c in Python before 3.7.1 has an integer overflow via a large LONG_BINPUT value that is mishandled during a "resize to twice
    32Monitor
  • ← EarlierCVE-2019-9636Mar 8, 2019 · Python 2.7.x through 2.7.16 and 3.x through 3.7.2 is affected by: Improper Handling of Unicode Encoding (with an incorrect netloc) during NF
    41Plan
  • Later →CVE-2019-9947Mar 23, 2019 · An issue was discovered in urllib2 in Python 2.x through 2.7.16 and urllib in Python 3.x through 3.7.3.
    26Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:python-psycopg2-doc2.7.5-7.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-attrs17.4.0-10.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-chardet3.0.4-10.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-coverage4.5.1-4.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-Cython0.28.1-7.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-dns1.15.0-10.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-docs2.7.16-2.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-docs-info2.7.16-2.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-docutils0.14-12.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-funcsigs1.0.2-13.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-idna2.5-7.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
almalinux:python2-PyMySQL0.8.0-10.module_el8.6.0+2781+fed64c13 · AlmaLinux:8Package registry (OSV)
debian:python2.72.7.16-3 · Debian:11Package registry (OSV)
debian:python3.43.4.2-1+deb8u3 · Debian:8Package registry (OSV)
debian:python3.53.5.3-1+deb9u2 · Debian:9Package registry (OSV)
opensuse:python-CherryPy18.6.1-1.2 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python-urllib31.22-lp150.5.3.1 · openSUSE:Leap 15.0Package registry (OSV)
opensuse:python-urllib3_11.26.20-7.2 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python-urllib3-test1.24-lp151.2.3.1 · openSUSE:Leap 15.1Package registry (OSV)
red hat:python0:2.7.5-86.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:python-debuginfo0:2.7.5-86.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:python-libs0:2.7.5-86.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:python27-python0:2.7.16-4.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:python27-python-debug0:2.7.16-4.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:python27-python-debuginfo0:2.7.16-4.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:python27-python-devel0:2.7.16-4.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:python27-python-jinja20:2.6-12.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:python27-python-libs0:2.7.16-4.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:python27-python-test0:2.7.16-4.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:python27-python-tools0:2.7.16-4.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)

+25

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.

EPSS, last 120 days

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.

Finders, 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.

All national notices →

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
low · data or configuration can be modified
Availability
none

Impact can extend beyond the vulnerable component (scope changes).

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality impact
Low
Integrity impact
Low
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/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.

Change log

  1. SSVC exploitation— → none
  2. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

Show all references (19 more)

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records