Vulnerability Details : CVE-2018-20852
Potential exploit
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.
Vulnerability category: Input validation
Products affected by CVE-2018-20852
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
Threat overview for CVE-2018-20852
Top countries where our scanners detected CVE-2018-20852
Top open port discovered on systems with this issue
80
IPs affected by CVE-2018-20852 297,818
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2018-20852!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2018-20852
0.46%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 75 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-20852
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:P/I:N/A:N |
10.0
|
2.9
|
NIST | |
5.3
|
MEDIUM | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
3.9
|
1.4
|
NIST |
CWE ids for CVE-2018-20852
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-20852
-
https://access.redhat.com/errata/RHSA-2019:3725
RHSA-2019:3725 - Security Advisory - Red Hat Customer Portal
-
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00074.html
[security-announce] openSUSE-SU-2019:1989-1: moderate: Security update f
-
https://access.redhat.com/errata/RHSA-2019:3948
RHSA-2019:3948 - Security Advisory - Red Hat Customer Portal
-
https://www.oracle.com/security-alerts/cpuapr2020.html
Oracle Critical Patch Update Advisory - April 2020
-
https://usn.ubuntu.com/4127-2/
USN-4127-2: Python vulnerabilities | Ubuntu security notices
-
https://usn.ubuntu.com/4127-1/
USN-4127-1: Python vulnerabilities | Ubuntu security notices
-
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00071.html
[security-announce] openSUSE-SU-2019:1988-1: moderate: Security update f
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZBTGPBUABGXZ7WH7677OEM3NSP6ZEA76/
[SECURITY] Fedora 30 Update: python2-docs-2.7.17-1.fc30 - package-announce - Fedora Mailing-Lists
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/COATURTCY7G67AYI6UDV5B2JZTBCKIDX/
[SECURITY] Fedora 29 Update: python2-docs-2.7.17-1.fc29 - package-announce - Fedora Mailing-Lists
-
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
[security-announce] openSUSE-SU-2020:0086-1: important: Security update
-
https://lists.debian.org/debian-lts-announce/2020/08/msg00034.html
[SECURITY] [DLA 2337-1] python2.7 security update
-
https://lists.debian.org/debian-lts-announce/2019/08/msg00040.html
[SECURITY] [DLA 1906-1] python2.7 security update
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/K7HNVIFMETMFWWWUNTB72KYJYXCZOS5V/
[SECURITY] Fedora 31 Update: python2-docs-2.7.17-1.fc31 - package-announce - Fedora Mailing-Lists
-
https://bugs.python.org/issue35121
Issue 35121: [CVE-2018-20852] Cookie domain check returns incorrect results - Python trackerExploit;Issue Tracking;Vendor Advisory
-
https://python-security.readthedocs.io/vuln/cookie-domain-check.html
Cookie domain check returns incorrect results — Python Security 0.0 documentationVendor Advisory
-
https://security.gentoo.org/glsa/202003-26
Python: Multiple vulnerabilities (GLSA 202003-26) — Gentoo security
-
https://lists.debian.org/debian-lts-announce/2019/08/msg00022.html
[SECURITY] [DLA 1889-1] python3.4 security update
-
https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html
[SECURITY] [DLA 2280-1] python3.5 security update
Jump to