{"id":"CVE-2022-27779","state":"PUBLISHED","title":"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 e","description":"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.","publishedAt":"2022-06-01T00:00:00.000Z","updatedAt":"2026-10-14T16:20:08.776Z","severity":null,"assigner":"hackerone","products":["n/a https://github.com/curl/curl"],"affected":[{"vendor":"n/a","product":"https://github.com/curl/curl","versions":[{"version":"Fixed in 7.83.1","status":"affected"}]}],"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"],"weaknesses":["CWE-201"],"ingestedAt":"2026-10-29T19:49:52.117Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/27xxx/CVE-2022-27779.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-27779","state":"PUBLISHED","datePublished":"2022-06-01T00:00:00.000Z","dateUpdated":"2026-10-14T16:20:08.776Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2022-03-23T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"https://github.com/curl/curl","versions":[{"version":"Fixed in 7.83.1","status":"affected"}]}],"references":[{"url":"https://hackerone.com/reports/1553301"},{"url":"https://security.netapp.com/advisory/ntap-20220609-0009/"},{"url":"https://security.gentoo.org/glsa/202212-01","name":"GLSA-202212-01","tags":["vendor-advisory"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-201","type":"CWE","lang":"en","description":"Information Exposure Through Sent Data (CWE-201)"}]}],"providerMetadata":{"shortName":"hackerone","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateUpdated":"2022-12-19T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://hackerone.com/reports/1553301","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20220609-0009/","tags":["x_transferred"]},{"url":"https://security.gentoo.org/glsa/202212-01","name":"GLSA-202212-01","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T05:33:00.476Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-14T16:20:08.776Z"},"x_adpType":"supplier"}]}}}