CVE-2022-27779: Medium severity haxx curl vulnerability
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 Listawareness. 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.
Other sources
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 Listawareness. 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.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is CVE-2022-27779?
CVE-2022-27779 is a vulnerability in libcurl that allows cookies to be set for Top Level Domains (TLDs) if the host name is provided with a trailing dot.
What is the severity of CVE-2022-27779?
CVE-2022-27779 has a severity rating of 5.3 (medium).
Which software is affected by CVE-2022-27779?
The software affected by CVE-2022-27779 includes Haxx Curl version 7.82.0 to 7.83.1.
How can I fix CVE-2022-27779?
To fix CVE-2022-27779, upgrade to a version of Haxx Curl that is not vulnerable.
Where can I find more information about CVE-2022-27779?
You can find more information about CVE-2022-27779 in the following references: [HackerOne](https://hackerone.com/reports/1553301), [Gentoo Security](https://security.gentoo.org/glsa/202212-01), [NetApp Security Advisory](https://security.netapp.com/advisory/ntap-20220609-0009/)