Vulnerability in Haxx Curl
CVE-2022-27779
libcurl wrongly allows cookies to be set for Top Level Domains (TLDs) if thehost name is provided with a trailing dot.curl can be told to receive and send cookies. curl's "cookie engine" can bebuilt with or without [Public Suffix List](https://publicsuffix.org/)awareness. If PSL support not provided, a more rudimentary check exists to atleast prevent cookies from being set on TLDs. This check was broken if thehost name in the URL uses a trailing dot.This can allow arbitrary sites to set cookies that then would get sent to adifferent and unrelated site or domain.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.028, 86.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fokypoky/places-list). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- hackerone.com/reports/1553301 (Exploit, Third Party Advisory)
- security.netapp.com/advisory/ntap-20220609-0009/ (Third Party Advisory)
- security.gentoo.org/glsa/202212-01 (vendor-advisory, Third Party Advisory)
- cert-portal.siemens.com/productcert/html/ssa-398330.html