Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2023-38546 →
Unrated

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 per...

UBUNTU-CVE-2023-38546 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:14.04:LTScurl
< 7.35.0-1ubuntu2.20+esm17→ 7.35.0-1ubuntu2.20+esm17
Ubuntu:Pro:16.04:LTScurl
< 7.47.0-1ubuntu2.19+esm10→ 7.47.0-1ubuntu2.19+esm10
Ubuntu:Pro:18.04:LTScurl
< 7.58.0-2ubuntu3.24+esm2→ 7.58.0-2ubuntu3.24+esm2
Ubuntu:20.04:LTScurl
< 7.68.0-1ubuntu2.20→ 7.68.0-1ubuntu2.20
Ubuntu:22.04:LTScurl
< 7.81.0-1ubuntu1.14→ 7.81.0-1ubuntu1.14
Ubuntu:24.04:LTScurl
< 8.2.1-1ubuntu3.1→ 8.2.1-1ubuntu3.1
Original description The description as published by the source.

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 curl_easy_duphandle. 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.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details