Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2019-18348: An issue was discovered in urllib2 in Python 2.x through 2.7.17 and urllib in Python 3.x through 3.8.0.

Noroxi assessment

Priority: Monitor (action score 25/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: 3.5% (FIRST EPSS); higher than 89.1% 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: python2 (Alpine:v3.10) 2.7.18-r0; python2.7 (Debian:11) 2.7.18~rc1-1; python3.5 (Debian:9) 3.5.3-1+deb9u2.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to python2 (Alpine:v3.10) 2.7.18-r0; python2.7 (Debian:11) 2.7.18~rc1-1; python3.5 (Debian:9) 3.5.3-1+deb9u2 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.17 and urllib in Python 3.x through 3.8.0. 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 host component of a URL) followed by an HTTP header. This is similar to the CVE-2019-9740 query string issue and the CVE-2019-9947 path string issue. (This is not exploitable when glibc has CVE-2016-10739 fixed.). This is fixed in: v2.7.18, v2.7.18rc1; v3.5.10, v3.5.10rc1; v3.6.11, v3.6.11rc1, v3.6.12; v3.7.8, v3.7.8rc1, v3.7.9; v3.8.3, v3.8.3rc1, v3.8.4, v3.8.4rc1, v3.8.5, v3.8.6, v3.8.6rc1.

MediumCVSS 6.1 · v3.1—No exploit Fix available
Published
Oct 23, 2019
Updated
Oct 14, 2026
EPSS
3.5% · 89th percentile

Report tools

JSON

Action score

25

Monitor

Low priority for now.

CVSS
24 / 40 · 6.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.5%

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
5.4
0.7 point gap

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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-18348

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 · up to 2.7.17 inclusive
  • python python3.0 and later · before 3.5.10
  • python python3.6.0 and later · before 3.6.11
  • python python3.7.0 and later · before 3.7.8
  • python python3.8.0 and later · before 3.8.3

Package-level exposure

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

EcosystemPackageAffected rangeFix
Alpine:v3.10python2before 2.7.18-r02.7.18-r0
Debian:11python2.7before 2.7.18~rc1-12.7.18~rc1-1
Debian:9python3.5before 3.5.3-1+deb9u23.5.3-1+deb9u2
openSUSE:Leap 15.1pythonbefore 2.7.17-lp151.10.17.12.7.17-lp151.10.17.1
openSUSE:Leap 15.1python-basebefore 2.7.17-lp151.10.17.12.7.17-lp151.10.17.1
openSUSE:Leap 15.1python-docbefore 2.7.17-lp151.10.17.12.7.17-lp151.10.17.1
openSUSE:Leap 15.1python3before 3.6.12-lp151.6.32.13.6.12-lp151.6.32.1
openSUSE:Leap 15.1python3-corebefore 3.6.12-lp151.6.32.13.6.12-lp151.6.32.1
openSUSE:Leap 15.1python3-documentationbefore 3.6.12-lp151.6.32.13.6.12-lp151.6.32.1
openSUSE:Leap 15.2python3before 3.6.12-lp152.4.14.13.6.12-lp152.4.14.1
openSUSE:Leap 15.2python3-corebefore 3.6.12-lp152.4.14.13.6.12-lp152.4.14.1
openSUSE:Leap 15.2python3-documentationbefore 3.6.12-lp152.4.14.13.6.12-lp152.4.14.1
openSUSE:Leap 15.3python3-documentationbefore 3.6.15-150300.10.37.13.6.15-150300.10.37.1
openSUSE:Leap Micro 5.2python3before 3.6.15-150300.10.37.23.6.15-150300.10.37.2
openSUSE:Leap Micro 5.2python3-corebefore 3.6.15-150300.10.37.23.6.15-150300.10.37.2
Red Hat:rhel_software_collections:3::el6rh-python36-pythonbefore 0:3.6.12-1.el60:3.6.12-1.el6
Red Hat:rhel_software_collections:3::el6rh-python36-python-debugbefore 0:3.6.12-1.el60:3.6.12-1.el6
Red Hat:rhel_software_collections:3::el6rh-python36-python-debuginfobefore 0:3.6.12-1.el60:3.6.12-1.el6
Red Hat:rhel_software_collections:3::el6rh-python36-python-develbefore 0:3.6.12-1.el60:3.6.12-1.el6
Red Hat:rhel_software_collections:3::el6rh-python36-python-libsbefore 0:3.6.12-1.el60:3.6.12-1.el6
Red Hat:rhel_software_collections:3::el6rh-python36-python-pipbefore 0:9.0.1-5.el60:9.0.1-5.el6
Red Hat:rhel_software_collections:3::el6rh-python36-python-testbefore 0:3.6.12-1.el60:3.6.12-1.el6
Red Hat:rhel_software_collections:3::el6rh-python36-python-tkinterbefore 0:3.6.12-1.el60:3.6.12-1.el6
Red Hat:rhel_software_collections:3::el6rh-python36-python-toolsbefore 0:3.6.12-1.el60:3.6.12-1.el6

+41

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-2019-16935Sep 28, 2019 · The documentation XML-RPC server in Python through 2.7.16, 3.x through 3.6.9, and 3.7.x through 3.7.4 has XSS via the server_title field.
    25Monitor
  • ← EarlierCVE-2019-17514Oct 12, 2019 · library/glob.html in the Python 2 and 3 documentation before 2016 has potentially misleading information about whether sorting occurs, as de
    31Monitor
  • Later →CVE-2019-5010Oct 31, 2019 · An exploitable denial-of-service vulnerability exists in the X509 certificate parser of Python.org Python 2.7.11 / 3.6.6.
    36Monitor

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
alpine:python22.7.18-r0 · Alpine:v3.10Package registry (OSV)
debian:python2.72.7.18~rc1-1 · Debian:11Package registry (OSV)
debian:python3.53.5.3-1+deb9u2 · Debian:9Package registry (OSV)
opensuse:python2.7.17-lp151.10.17.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:python-base2.7.17-lp151.10.17.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:python-doc2.7.17-lp151.10.17.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:python33.6.15-150300.10.37.2 · openSUSE:Leap Micro 5.2Package registry (OSV)
opensuse:python3-core3.6.15-150300.10.37.2 · openSUSE:Leap Micro 5.2Package registry (OSV)
opensuse:python3-documentation3.6.15-150300.10.37.1 · openSUSE:Leap 15.3Package registry (OSV)
red hat:python27-python0:2.7.18-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:python27-python-debug0:2.7.18-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:python27-python-debuginfo0:2.7.18-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:python27-python-devel0:2.7.18-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:python27-python-libs0:2.7.18-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:python27-python-pip0:8.1.2-6.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:python27-python-test0:2.7.18-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:python27-python-tools0:2.7.18-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:python27-python-virtualenv0:13.1.0-4.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:python27-tkinter0:2.7.18-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-python36-python0:3.6.12-1.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:rh-python36-python-debug0:3.6.12-1.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
suse:python2.7.17-7.38.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP1Package registry (OSV)
suse:python-base2.7.17-7.38.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP1Package registry (OSV)
suse:python-doc2.7.17-28.42.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)
suse:python-rpm-macros20200207.5feb6c1-3.19.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)
suse:python33.4.10-25.45.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)
suse:python33.6.15-150300.10.37.2 · SUSE:Linux Enterprise Micro 5.3Package registry (OSV)
suse:python3-base3.4.10-25.45.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)
suse:python3-core3.6.12-3.67.2 · SUSE:Linux Enterprise Module for Basesystem 15 SP1Package registry (OSV)
suse:python3-core3.6.15-150300.10.37.2 · SUSE:Linux Enterprise Micro 5.3Package registry (OSV)

+4

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

Change log

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

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

References

All records