JLSEC-2025-35

Source
https://github.com/JuliaLang/SecurityAdvisories.jl/blob/main/advisories/published/2025/JLSEC-2025-35.md
Import Source
https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2025/JLSEC-2025-35.json
JSON Data
https://api.osv.dev/v1/vulns/JLSEC-2025-35
Upstream
Published
2025-10-10T15:04:01.319Z
Modified
2025-11-06T23:03:22.060604Z
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 using libcurl, if the specific series of conditions are met.

libcurl performs transfers. In its API, an application creates "easy handles" that are the individual handles for single transfers.

libcurl provides a function call that duplicates en easy handle called curleasyduphandle.

If a transfer has cookies enabled when the handle is duplicated, the cookie-enable state is also cloned - but without cloning the actual cookies. If the source handle did not read any cookies from a specific file on disk, the cloned version of the handle would instead store the file name as none (using the four ASCII letters, no quotes).

Subsequent use of the cloned handle that does not explicitly set a source to load cookies from would then inadvertently load cookies from a file named none - if such a file exists and is readable in the current directory of the program using libcurl. And if using the correct file format of course.

Database specific
{
    "sources": [
        {
            "modified": "2025-02-13T17:16:48.027Z",
            "published": "2023-10-18T04:15:11.137Z",
            "imported": "2025-10-10T14:33:22.349Z",
            "id": "CVE-2023-38546",
            "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2023-38546",
            "html_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-38546"
        }
    ],
    "license": "CC-BY-4.0"
}
References

Affected packages

Julia / CURL_jll

Package

Name
CURL_jll
Purl
pkg:julia/CURL_jll?uuid=b21e61f3-bafc-59ac-ab14-4c5c62d6588d

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.5.0+0

Julia / LibCURL_jll

Package

Name
LibCURL_jll
Purl
pkg:julia/LibCURL_jll?uuid=deac9b47-8bc7-5906-a0fe-35ac56dc84c0

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.4.0+0