{"id":"CVE-2023-38546","revision":"8e20979e96884a96893aef90398ab463","records":[{"revision":"8e20979e96884a96893aef90398ab463","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2023-38546","aliases":[],"title":"This flaw allows an attacker to insert cookies at will into a running program","description":"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.","state":0,"publishedAt":"2023-10-18T03:51:31.276+00:00","modifiedAt":"2026-10-14T23:35:03.905+00:00","affected":[{"ecosystem":"Vendor product","name":"curl","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"curl\",\n                    \"product\": \"curl\",\n                    \"versions\": [\n                        {\n                            \"version\": \"8.4.0\",\n                            \"status\": \"affected\",\n                            \"lessThan\": \"8.4.0\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.9.1\",\n                            \"status\": \"unaffected\",\n                            \"lessThan\": \"7.9.1\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://curl.se/docs/CVE-2023-38546.html","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/","https://support.apple.com/kb/HT214036","https://support.apple.com/kb/HT214063","https://support.apple.com/kb/HT214057","https://support.apple.com/kb/HT214058","http://seclists.org/fulldisclosure/2024/Jan/34","http://seclists.org/fulldisclosure/2024/Jan/37","http://seclists.org/fulldisclosure/2024/Jan/38","https://forum.vmssoftware.com/viewtopic.php?f=8&t=8868"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2023-38546","license":"CVE Program Terms of Use","key":"cve-program:CVE-2023-38546","identifiers":["CVE-2023-38546"]},"retained":false,"historicalAffected":[]}],"coverage":[]}