Search for vulnerabilities
Vulnerability details: VCID-fyv2-nahw-aaae
Vulnerability ID VCID-fyv2-nahw-aaae
Aliases CVE-2018-20852
Summary 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.
Status Published
Exploitability 0.5
Weighted Severity 7.0
Risk 3.5
Affected and Fixed Packages Package Details
Weaknesses (1)
System Score Found at
generic_textual Medium http://people.canonical.com/~ubuntu-security/cve/2018/CVE-2018-20852.html
rhas Moderate https://access.redhat.com/errata/RHSA-2019:3948
rhas Moderate https://access.redhat.com/errata/RHSA-2020:1131
rhas Moderate https://access.redhat.com/errata/RHSA-2020:1132
rhas Moderate https://access.redhat.com/errata/RHSA-2020:1605
rhas Moderate https://access.redhat.com/errata/RHSA-2020:1764
cvssv3 5.3 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-20852.json
epss 0.00455 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.00455 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.00455 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.00455 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.00515 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.00515 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.00515 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.00515 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.00515 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.00515 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.00515 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.00515 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.00515 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.00515 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.00515 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.00515 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01004 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.01032 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
epss 0.03306 https://api.first.org/data/v1/epss?cve=CVE-2018-20852
generic_textual Medium https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20852
cvssv3 5.3 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv2 5.0 https://nvd.nist.gov/vuln/detail/CVE-2018-20852
cvssv3 5.3 https://nvd.nist.gov/vuln/detail/CVE-2018-20852
generic_textual Medium https://python-security.readthedocs.io/vuln/cookie-domain-check.html
generic_textual Medium https://ubuntu.com/security/notices/USN-4127-1
generic_textual Medium https://ubuntu.com/security/notices/USN-4127-2
generic_textual Medium https://usn.ubuntu.com/usn/usn-4127-1
generic_textual Medium https://usn.ubuntu.com/usn/usn-4127-2
cvssv3.1 9.8 https://www.oracle.com/security-alerts/cpuapr2020.html
generic_textual CRITICAL https://www.oracle.com/security-alerts/cpuapr2020.html
Reference id Reference type URL
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00071.html
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00074.html
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
http://people.canonical.com/~ubuntu-security/cve/2018/CVE-2018-20852.html
https://access.redhat.com/errata/RHSA-2019:3725
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-20852.json
https://api.first.org/data/v1/epss?cve=CVE-2018-20852
https://bugs.python.org/issue35121
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20852
https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
https://lists.debian.org/debian-lts-announce/2019/08/msg00022.html
https://lists.debian.org/debian-lts-announce/2019/08/msg00040.html
https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html
https://lists.debian.org/debian-lts-announce/2020/08/msg00034.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/COATURTCY7G67AYI6UDV5B2JZTBCKIDX/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K7HNVIFMETMFWWWUNTB72KYJYXCZOS5V/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZBTGPBUABGXZ7WH7677OEM3NSP6ZEA76/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/COATURTCY7G67AYI6UDV5B2JZTBCKIDX/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/K7HNVIFMETMFWWWUNTB72KYJYXCZOS5V/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZBTGPBUABGXZ7WH7677OEM3NSP6ZEA76/
https://python-security.readthedocs.io/vuln/cookie-domain-check.html
https://security.gentoo.org/glsa/202003-26
https://ubuntu.com/security/notices/USN-4127-1
https://ubuntu.com/security/notices/USN-4127-2
https://usn.ubuntu.com/4127-1/
https://usn.ubuntu.com/4127-2/
https://usn.ubuntu.com/usn/usn-4127-1
https://usn.ubuntu.com/usn/usn-4127-2
https://www.oracle.com/security-alerts/cpuapr2020.html
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
CVE-2018-20852 https://nvd.nist.gov/vuln/detail/CVE-2018-20852
RHBA-2020:1540 https://bugzilla.redhat.com/show_bug.cgi?id=1740347
RHSA-2019:3948 https://access.redhat.com/errata/RHSA-2019:3948
RHSA-2020:1131 https://access.redhat.com/errata/RHSA-2020:1131
RHSA-2020:1132 https://access.redhat.com/errata/RHSA-2020:1132
RHSA-2020:1605 https://access.redhat.com/errata/RHSA-2020:1605
RHSA-2020:1764 https://access.redhat.com/errata/RHSA-2020:1764
USN-6891-1 https://usn.ubuntu.com/6891-1/
No exploits are available.
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-20852.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2018-20852
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2018-20852
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://www.oracle.com/security-alerts/cpuapr2020.html
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.74911
EPSS Score 0.00455
Published At Dec. 17, 2024, midnight
Date Actor Action Source VulnerableCode Version
There are no relevant records.