{"id":"JLSEC-2025-35","summary":"This flaw allows an attacker to insert cookies at will into a running program using libcurl, if the ...","details":"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.","modified":"2025-11-06T23:03:22.060604Z","published":"2025-10-10T15:04:01.319Z","upstream":["CVE-2023-38546"],"database_specific":{"sources":[{"id":"CVE-2023-38546","imported":"2025-10-10T14:33:22.349Z","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38546","modified":"2025-02-13T17:16:48.027Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2023-38546","published":"2023-10-18T04:15:11.137Z"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"http://seclists.org/fulldisclosure/2024/Jan/34"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2024/Jan/37"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2024/Jan/38"},{"type":"WEB","url":"https://curl.se/docs/CVE-2023-38546.html"},{"type":"WEB","url":"https://forum.vmssoftware.com/viewtopic.php?f=8&t=8868"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/"},{"type":"WEB","url":"https://support.apple.com/kb/HT214036"},{"type":"WEB","url":"https://support.apple.com/kb/HT214057"},{"type":"WEB","url":"https://support.apple.com/kb/HT214058"},{"type":"WEB","url":"https://support.apple.com/kb/HT214063"}],"affected":[{"package":{"name":"CURL_jll","ecosystem":"Julia","purl":"pkg:julia/CURL_jll?uuid=b21e61f3-bafc-59ac-ab14-4c5c62d6588d"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.5.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2025/JLSEC-2025-35.json"}},{"package":{"name":"LibCURL_jll","ecosystem":"Julia","purl":"pkg:julia/LibCURL_jll?uuid=deac9b47-8bc7-5906-a0fe-35ac56dc84c0"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.4.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2025/JLSEC-2025-35.json"}}],"schema_version":"1.7.3"}