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.
- Score
- CVSS 3.1 5.3 Medium
- Status
- Modified - support@hackerone.com
- Published
- 2022-06-02
- Last modified
- 2026-10-14
- Weaknesses
- CWE-201
Affected products
- Curl (Haxx)
- Clustered Data Ontap (Netapp)
- H300s Firmware (Netapp)
- H410s Firmware (Netapp)
- H500s Firmware (Netapp)
- H700s Firmware (Netapp)
- Hci Bootstrap Os (Netapp)
- Hci Compute Node (Netapp)
- Solidfire, Enterprise Sds & Hci Storage Node (Netapp)
- Solidfire & Hci Management Node (Netapp)
- Simatic S7-1500 Cpu 1518-4 Pndp Mfp (Siemens)
- Simatic S7-1500 Cpu 1518f-4 Pndp Mfp (Siemens)
- Siplus S7-1500 Cpu 1518-4 Pndp Mfp (Siemens)
- Universal Forwarder (Splunk)
References
- https://hackerone.com/reports/1553301
- https://security.netapp.com/advisory/ntap-20220609-0009/
- https://security.gentoo.org/glsa/202212-01
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html