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.
EPSS: 0.026 (83.6th percentile) — read the EPSS interpretation.
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.
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- support@hackerone.com (Exploit, Third Party Advisory)
- support@hackerone.com (Third Party Advisory)
- support@hackerone.com (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-27779?
- CVE-2022-27779 is a medium-severity vulnerability in Haxx Curl, classified under Insertion of Sensitive Information into Sent Data. CVSS score: 5.3/10. Published 2022-06-02.
- How severe is CVE-2022-27779?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2022-27779 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.