{"id":"CVE-2023-38546","title":"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","summary":"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 indivi…","severity":"none","vendor":"curl","product":"curl","affected":["curl >= 8.4.0 < 8.4.0"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-13T15:01:53.358515Z"},"published":"2023-10-18","updated":"2026-10-14","sourceUpdated":"2026-10-14T23:35:03.905Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2023-38546","references":[{"url":"https://curl.se/docs/CVE-2023-38546.html"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/"},{"url":"https://support.apple.com/kb/HT214036"},{"url":"https://support.apple.com/kb/HT214063"},{"url":"https://support.apple.com/kb/HT214057"},{"url":"https://support.apple.com/kb/HT214058"},{"url":"http://seclists.org/fulldisclosure/2024/Jan/34"},{"url":"http://seclists.org/fulldisclosure/2024/Jan/37"},{"url":"http://seclists.org/fulldisclosure/2024/Jan/38"},{"url":"https://forum.vmssoftware.com/viewtopic.php?f=8&t=8868"}],"tags":["cve.org"],"epss":0.05956,"epssPercentile":0.93209,"ingestedAt":"2026-10-15T04:46:37.293Z","slug":"CVE-2023-38546","body":"## Overview\n\nThis 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.\n\n## Affected\n\n- `curl >= 8.4.0 < 8.4.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":4,"depthScoreParts":{"impact":2.8,"likelihood":1.2,"exploitation":0,"ransomware":0},"changes":[]}