{"id":"CVE-2023-38546","published":"2023-10-18T03:51:31Z","modified":"2026-10-14T23:35:03Z","title":"This flaw allows an attacker to insert cookies at will into a running program using libcurl, if the specific series of…","vendor":"curl","product":"curl","tier":"tail","description":{"text":"This flaw allows an attacker to insert cookies at will into a running program\nusing libcurl, if the specific series of conditions are met.\n\nlibcurl performs transfers. In its API, an application creates \"easy handles\"\nthat are the individual handles for single transfers.\n\nlibcurl provides a function call that duplicates en easy handle called\n[curl_easy_duphandle](https://curl.se/libcurl/c/curl_easy_duphandle.html).\n\nIf a transfer has cookies enabled when the handle is duplicated, the\ncookie-enable state is also cloned - but without cloning the actual\ncookies. If the source handle did not read any cookies from a specific file on\ndisk, the cloned version of the handle would instead store the file name as\n`none` (using the four ASCII letters, no quotes).\n\nSubsequent use of the cloned handle that does not explicitly set a source to\nload cookies from would then inadvertently load cookies from a file named\n`none` - if such a file exists and is readable in the current directory of the\nprogram using libcurl. And if using the correct file format of course.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05956,"percentile":0.93457,"provenance":"source"},"cwes":[],"references":[{"url":"https://curl.se/docs/CVE-2023-38546.html","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/","tags":[]},{"url":"https://support.apple.com/kb/HT214036","tags":[]},{"url":"https://support.apple.com/kb/HT214063","tags":[]},{"url":"https://support.apple.com/kb/HT214057","tags":[]},{"url":"https://support.apple.com/kb/HT214058","tags":[]},{"url":"http://seclists.org/fulldisclosure/2024/Jan/34","tags":[]},{"url":"http://seclists.org/fulldisclosure/2024/Jan/37","tags":[]},{"url":"http://seclists.org/fulldisclosure/2024/Jan/38","tags":[]},{"url":"https://forum.vmssoftware.com/viewtopic.php?f=8&t=8868","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00016.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-943925.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-832273.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-093430.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":18.69}]},"vendorSlug":"curl","affectedVersions":[{"vendor":"curl","product":"curl","versions":[">= 8.4.0, < 8.4.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-13T15:01:53.358515Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-42345","exploited":false,"provenance":"source"}}