cbcvebase.
CVE-2023-38546
published 2023-10-18

CVE-2023-38546: 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…

PriorityP421low3.7CVSS 3.1
AVNACHPRNUINSUCNILAN
EPSS
6.21%
92.6th percentile
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](https://curl.se/libcurl/c/curl_easy_duphandle.html). 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.

Affected

44 ranges· showing 25
VendorProductVersion rangeFixed in
applemacos_monterey
applemacos_sonoma
applemacos_ventura
curlcurl>= 8.4.0 < 8.4.08.4.0
debiancurl< curl 7.88.1-10+deb12u4 (bookworm)curl 7.88.1-10+deb12u4 (bookworm)
haxxcurl>= 0 < 8.4.0-r08.4.0-r0
haxxcurl>= 0 < 8.4.0-r08.4.0-r0
haxxcurl>= 0 < 8.4.0-r08.4.0-r0
haxxcurl>= 0 < 8.4.0-r08.4.0-r0
haxxcurl>= 0 < 8.4.0-r08.4.0-r0
haxxcurl>= 0 < 8.4.0-r08.4.0-r0
haxxcurl>= 0 < 8.4.0-r08.4.0-r0
haxxcurl>= 0 < 8.4.0-r08.4.0-r0
haxxcurl>= 0 < 8.4.0-r08.4.0-r0
haxxcurl>= 0 < 7.74.0-1.3+deb11u107.74.0-1.3+deb11u10
haxxcurl>= 0 < 7.88.1-10+deb12u47.88.1-10+deb12u4
haxxcurl>= 0 < 8.3.0-38.3.0-3
haxxcurl>= 0 < 8.3.0-38.3.0-3
haxxcurl>= 0 < 7.68.0-1ubuntu2.207.68.0-1ubuntu2.20
haxxcurl>= 0 < 7.81.0-1ubuntu1.147.81.0-1ubuntu1.14
haxxcurl>= 0 < 8.2.1-1ubuntu3.18.2.1-1ubuntu3.1
haxxcurl>= 0 < 7.35.0-1ubuntu2.20+esm177.35.0-1ubuntu2.20+esm17
haxxcurl>= 0 < 7.47.0-1ubuntu2.19+esm107.47.0-1ubuntu2.19+esm10
haxxcurl>= 0 < 7.58.0-2ubuntu3.24+esm27.58.0-2ubuntu3.24+esm2
haxxlibcurl>= 7.9.1 < 8.4.08.4.0

CVSS provenance

nvdv3.13.7LOWCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
osv9.8CRITICAL
vendor_cisco9.8CRITICAL
vendor_ubuntu9.8CRITICAL
vendor_debian3.7LOW
vendor_msrc3.7LOW
vendor_oracle3.7LOW
vendor_redhat3.7LOW
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.