THREATPORT/VULNERABILITY/CVE-2018-20852
MEDIUM SEVERITY

CVE-2018-20852

Python vulnerability

CVSS
5.3
EPSS
4.0%
EPSS pct
90th
Exploited
No known
http.cookiejar.DefaultPolicy.domain_return_ok in Lib/http/cookiejar.py in Python before 3.7.3 does not correctly validate the domain: it can be tricked into sending existing cookies to the wrong server. An attacker may abuse this flaw by using a server with a hostname that has another valid hostname as a suffix (e.g., pythonicexample.com to steal cookies for example.com). When a program uses http.cookiejar.DefaultPolicy and tries to do an HTTP connection to an attacker-controlled server, existing cookies can be leaked to the attacker. This affects 2.x through 2.7.16, 3.x before 3.4.10, 3.5.x before 3.5.7, 3.6.x before 3.6.9, and 3.7.x before 3.7.3.
Affected vendor
Python
Affected product
Python
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness type (CWE)
  • CWE-20 — Improper Input Validation
Published
2019-07-13

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring no privileges, no user interaction. Successful exploitation leads to low impact to confidentiality.

Its EPSS score of 4.0% reflects a lower probability of exploitation activity in the wild over the next 30 days, placing it above 90% of all scored CVEs.

Check your external exposure to CVE-2018-20852

  • Confirm whether Python Python is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2018-20852.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2018-20852

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2018-20852 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2018-20852?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2018-20852.

Start free scan

No credit card. Agentless.