CVE-2018-20852
mediumpriority · track · 22EPSS 0.037 · 90 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (77)
Products and version ranges known to be affected.
- Avaya Aura Application Enablement Servicesall versionscert_bundDEcpe:/a:avaya:aura_application_enablement_services:-
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1597Python: Schwachstelle ermöglicht Offenlegung von InformationenDeutsch2019-07-14csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Python ausnutzen, um Informationen offenzulegen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (84)
External citations — patches, advisories, analysis.
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00071.htmlcnnvd
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00074.htmlcnnvd
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.htmlcnnvd
- https://access.redhat.com/errata/RHSA-2019:3725cnnvd
- https://access.redhat.com/errata/RHSA-2019:3948cnnvd
- https://bugs.python.org/issue35121cnnvd
- https://lists.debian.org/debian-lts-announce/2019/08/msg00022.htmlcnnvd
- https://lists.debian.org/debian-lts-announce/2019/08/msg00040.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan