CVE-2018-20852
Summary
| CVE | CVE-2018-20852 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2019-07-13 21:15:00 UTC |
| Updated | 2023-11-07 02:56:00 UTC |
| Description | 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. |
Risk And Classification
Problem Types: CWE-20
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [SECURITY] [DLA 2280-1] python3.5 security update | MLIST | lists.debian.org | |
| [SECURITY] Fedora 31 Update: python2-docs-2.7.17-1.fc31 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | |
| [SECURITY] [DLA 1889-1] python3.4 security update | MLIST | lists.debian.org | |
| [SECURITY] Fedora 29 Update: python2-docs-2.7.17-1.fc29 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| [SECURITY] Fedora 30 Update: python2-docs-2.7.17-1.fc30 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| USN-4127-1: Python vulnerabilities | Ubuntu security notices | Ubuntu | UBUNTU | usn.ubuntu.com | |
| Maze Found | Read the Docs | MISC | python-security.readthedocs.io | Vendor Advisory |
| Python: Multiple vulnerabilities (GLSA 202003-26) — Gentoo security | GENTOO | security.gentoo.org | |
| [security-announce] openSUSE-SU-2020:0086-1: important: Security update | SUSE | lists.opensuse.org | |
| [security-announce] openSUSE-SU-2019:1989-1: moderate: Security update f | SUSE | lists.opensuse.org | |
| [SECURITY] [DLA 1906-1] python2.7 security update | MLIST | lists.debian.org | |
| USN-4127-2: Python vulnerabilities | Ubuntu security notices | Ubuntu | UBUNTU | usn.ubuntu.com | |
| [SECURITY] Fedora 31 Update: python2-docs-2.7.17-1.fc31 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| [SECURITY] Fedora 30 Update: python2-docs-2.7.17-1.fc30 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | |
| [SECURITY] Fedora 29 Update: python2-docs-2.7.17-1.fc29 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | |
| Red Hat Customer Portal | REDHAT | access.redhat.com | |
| [security-announce] openSUSE-SU-2019:1988-1: moderate: Security update f | SUSE | lists.opensuse.org | |
| Oracle Critical Patch Update Advisory - April 2020 | N/A | www.oracle.com | |
| Red Hat Customer Portal | REDHAT | access.redhat.com | |
| [SECURITY] [DLA 2337-1] python2.7 security update | MLIST | lists.debian.org | |
| Issue 35121: [CVE-2018-20852] Cookie domain check returns incorrect results - Python tracker | MISC | bugs.python.org | Exploit, Issue Tracking, Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 159655 Oracle Enterprise Linux Security Update for python27:2.7 (ELSA-2020-1605)
- 377436 Alibaba Cloud Linux Security Update for python (ALINUX2-SA-2020:0081)
- 377490 Alibaba Cloud Linux Security Update for python3 (ALINUX2-SA-2020:0073)
- 671062 EulerOS Security Update for python (EulerOS-SA-2019-2442)
- 940120 AlmaLinux Security Update for python27:2.7 (ALSA-2020:1605)