Skip to content
Fencer Vulns
low 3.7

CVE-2023-38546 json

This flaw allows an attacker to insert cookies at will into a running program using libcurl, if the...

published 2023-10-18 3 y ago modified 2026-10-14 25 d ago also EUVD-2023-42345 , JLSEC-2025-35

cvss
3.7
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
6.0%
EPSS 6.0% chance of exploitation in 30 days, percentile 93%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia CURL_jll 8.5.0+0
  • julia LibCURL_jll 8.4.0+0
  • haxx libcurl 8.4.0
  • curl Debian 12 7.88.1-10+deb12u4
  • curl Debian 14, Debian 13 8.3.0-3

debian advisories DEBIAN-CVE-2023-38546

  • curl Ubuntu 20.04 LTS 7.68.0-1ubuntu2.20
  • curl Ubuntu 22.04 LTS 7.81.0-1ubuntu1.14
  • curl Ubuntu 24.04 LTS 8.2.1-1ubuntu3.1
  • curl Ubuntu Pro 14.04 LTS 7.35.0-1ubuntu2.20+esm17
  • curl Ubuntu Pro 16.04 LTS 7.47.0-1ubuntu2.19+esm10
  • curl Ubuntu Pro 18.04 LTS 7.58.0-2ubuntu3.24+esm2

ubuntu advisories UBUNTU-CVE-2023-38546

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • jbcs-httpd24-curl jboss core services 1 8.4.0-2.el7jbcs
  • jbcs-httpd24-curl jboss core services 1 8.4.0-2.el8jbcs
  • jbcs-httpd24-mod_jk jboss core services 1 1.2.49-1.redhat_1.el7jbcs
  • jbcs-httpd24-mod_jk jboss core services 1 1.2.49-1.redhat_1.el8jbcs
  • jbcs-httpd24-libcurl jboss core services 1 8.4.0-2.el7jbcs
  • jbcs-httpd24-libcurl jboss core services 1 8.4.0-2.el8jbcs
  • jbcs-httpd24-openssl jboss core services 1 1:1.1.1k-16.el7jbcs
  • jbcs-httpd24-openssl jboss core services 1 1:1.1.1k-16.el8jbcs

red hat advisories RHSA-2023:7625RHSA-2024:1601RHSA-2024:2101RHSA-2023:7540RHSA-2023:6292RHSA-2023:6745

  • curl SLE Micro 5.2, SLE Micro 5.1, Manager Server 4.2 +1 more 7.66.0-150200.4.60.1
  • curl SLE Module for Basesystem 15 SP5, SLE Module for Basesystem 15 SP4, SLE Micro 5.5 +4 more 8.0.1-150400.5.32.1
  • curl SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 8.0.1-11.74.1
  • curl SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 7.60.0-150000.56.1

suse advisories SUSE-SU-2023:4650-1SUSE-SU-2023:4045-1SUSE-SU-2023:4044-1SUSE-SU-2023:4043-1

  • curl openSUSE Tumbleweed 8.4.0-1.1

opensuse advisories openSUSE-SU-2024:13325-1

  • curl AlmaLinux 8 7.61.1-33.el8_9.5
  • libcurl AlmaLinux 8 7.61.1-33.el8_9.5
  • libcurl-minimal AlmaLinux 8 7.61.1-33.el8_9.5
  • curl AlmaLinux 9 7.76.1-26.el9_3.2
  • libcurl AlmaLinux 9 7.76.1-26.el9_3.2
  • curl-minimal AlmaLinux 9 7.76.1-26.el9_3.2
  • libcurl-minimal AlmaLinux 9 7.76.1-26.el9_3.2
  • curl AlmaLinux 9 7.76.1-23.el9_2.4

almalinux advisories ALSA-2024:1601ALSA-2023:6745ALSA-2023:5763

  • curl Rocky Linux 8 7.61.1-33.el8_9.5
  • curl Rocky Linux 9 7.76.1-23.el9_2.4

rocky linux advisories RLSA-2024:1601RLSA-2023:5763

  • curl Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 8.4.0-r0

alpine advisories ALPINE-CVE-2023-38546

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • curl CBL-Mariner 2.0 8.3.0-2
  • cmake CBL-Mariner 2.0, Azure Linux 3.0 3.21.4-10
  • tensorflow Azure Linux 3.0 2.16.1-1

azure linux advisories AZL-31289AZL-31502AZL-34610AZL-38099

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

  • libcurl-compat Arch Linux 8.4.0-1
  • curl Arch Linux 8.4.0-1
  • libcurl-gnutls Arch Linux 8.4.0-1
  • lib32-libcurl-compat Arch Linux 8.4.0-1
  • lib32-curl Arch Linux 8.4.0-1
  • lib32-libcurl-gnutls Arch Linux 8.4.0-1

arch linux advisories AVG-2845AVG-2846

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-38546 updated cvss 3.7

curl: cookie injection with none file

  • Red Hat .NET 6.0 on Red Hat Enterprise Linux rh-dotnet60, rh-dotnet60-build, rh-dotnet60-runtime Red Hat Enterprise Linux 6 curl, libcurl Red Hat Enterprise Linux 7 curl, libcurl
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 9) libcurl-devel 7.76.1-23.el9_2.4, libcurl-devel 7.76.1-26.el9_3.2, curl-debuginfo 7.76.1-23.el9_2.4, curl-debuginfo 7.76.1-26.el9_3.2, curl-debugsource 7.76.1-23.el9_2.4, curl-debugsource 7.76.1-26.el9_3.2, +6 more
    fixed: vendor fix RHSA-2023:5763
  • Red Hat Enterprise Linux AppStream EUS (v.9.0) libcurl-devel 7.76.1-14.el9_0.9, curl-debuginfo 7.76.1-14.el9_0.9, curl-debugsource 7.76.1-14.el9_0.9, libcurl-debuginfo 7.76.1-14.el9_0.9, curl-minimal-debuginfo 7.76.1-14.el9_0.9, libcurl-minimal-debuginfo 7.76.1-14.el9_0.9
    fixed: vendor fix RHSA-2023:5700
  • Red Hat Enterprise Linux BaseOS (v. 8) curl 7.61.1-33.el8_9.5, libcurl 7.61.1-33.el8_9.5, libcurl-minimal 7.61.1-33.el8_9.5
    fixed: vendor fix RHSA-2024:1601
  • Red Hat Enterprise Linux BaseOS (v. 9) curl 7.76.1-23.el9_2.4, curl 7.76.1-26.el9_3.2, libcurl 7.76.1-23.el9_2.4, libcurl 7.76.1-26.el9_3.2, curl-minimal 7.76.1-23.el9_2.4, curl-minimal 7.76.1-26.el9_3.2, +2 more
    fixed: vendor fix RHSA-2023:5763
  • Red Hat Enterprise Linux BaseOS EUS (v.8.6) curl 7.61.1-22.el8_6.9, libcurl 7.61.1-22.el8_6.9, libcurl-minimal 7.61.1-22.el8_6.9
    fixed: vendor fix RHSA-2023:6292
  • Red Hat Enterprise Linux BaseOS EUS (v.8.8) curl 7.61.1-30.el8_8.6, libcurl 7.61.1-30.el8_8.6, libcurl-minimal 7.61.1-30.el8_8.6
    fixed: vendor fix RHSA-2023:7540
  • Red Hat Enterprise Linux BaseOS EUS (v.9.0) curl 7.76.1-14.el9_0.9, libcurl 7.76.1-14.el9_0.9, curl-minimal 7.76.1-14.el9_0.9, libcurl-minimal 7.76.1-14.el9_0.9
    fixed: vendor fix RHSA-2023:5700
show 6 more
  • Red Hat JBoss Core Services
    fixed: vendor fix RHSA-2023:7626
  • Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-curl 8.4.0-2.el7jbcs, jbcs-httpd24-libcurl 8.4.0-2.el7jbcs Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-curl 8.4.0-2.el8jbcs, jbcs-httpd24-libcurl 8.4.0-2.el8jbcs
    fixed: vendor fix RHSA-2023:7625
  • Red Hat RHOL 5.6 for RHEL 8 openshift-logging/kibana6-rhel8 v6.8.1-430, openshift-logging/vector-rhel8 v0.21.0-127, openshift-logging/fluentd-rhel8 v1.14.6-216, openshift-logging/eventrouter-rhel8 v0.4.0-246, openshift-logging/logging-loki-rhel8 v2.9.6-16, openshift-logging/loki-rhel8-operator v5.6.18-12, +12 more
    fixed: vendor fix RHSA-2024:2092
  • Red Hat RHOL 5.7 for RHEL 8 openshift-logging/vector-rhel8 v0.28.1-57, openshift-logging/kibana6-rhel8 v6.8.1-431, openshift-logging/fluentd-rhel8 v1.14.6-215, openshift-logging/eventrouter-rhel8 v0.4.0-248, openshift-logging/logging-loki-rhel8 v2.9.6-15, openshift-logging/loki-rhel8-operator v5.7.13-12, +12 more
    fixed: vendor fix RHSA-2024:2093
  • Red Hat Satellite Client 6 for RHEL 6 puppet-agent 7.28.0-1.el6sat Red Hat Satellite Client 6 for RHEL 7 puppet-agent 7.28.0-1.el7sat Red Hat Satellite Client 6 for RHEL 8 puppet-agent 7.28.0-1.el8sat Red Hat Satellite Client 6 for RHEL 9 puppet-agent 7.28.0-1.el9sat
    fixed: vendor fix RHSA-2024:2101
  • Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-httpd 2.4.57-7.el7jbcs, jbcs-httpd24-mod_md 2.4.24-2.el7jbcs, jbcs-httpd24-mod_ssl 2.4.57-7.el7jbcs, jbcs-httpd24-mod_ldap 2.4.57-7.el7jbcs, jbcs-httpd24-openssl 1.1.1k-16.el7jbcs, jbcs-httpd24-apr-util 1.6.1-103.el7jbcs, +21 more Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-httpd 2.4.57-7.el8jbcs, jbcs-httpd24-mod_md 2.4.24-2.el8jbcs, jbcs-httpd24-mod_ssl 2.4.57-7.el8jbcs, jbcs-httpd24-mod_ldap 2.4.57-7.el8jbcs, jbcs-httpd24-openssl 1.1.1k-16.el8jbcs, jbcs-httpd24-apr-util 1.6.1-103.el8jbcs, +21 more Red Hat Satellite Client 6 for RHEL 6 katello-agent 4.2.3-5.el6sat, katello-host-tools 4.2.3-5.el6sat Red Hat Satellite Client 6 for RHEL 7 katello-agent 4.2.3-5.el7sat, katello-host-tools 4.2.3-5.el7sat, katello-host-tools-tracer 4.2.3-5.el7sat Red Hat Satellite Client 6 for RHEL 8 katello-agent 4.2.3-5.el8sat, katello-host-tools 4.2.3-5.el8sat, katello-host-tools-tracer 4.2.3-5.el8sat Red Hat Satellite Client 6 for RHEL 9 katello-agent 4.2.3-5.el9sat, katello-host-tools 4.2.3-5.el9sat, katello-host-tools-tracer 4.2.3-5.el9sat
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-25-162-05 updated cvss 3.7

Siemens SIMATIC S7-1500 CPU family

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.5
    affected: mitigation, no fix available

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-24-074-05 updated cvss 3.7

Siemens RUGGEDCOM APE1808

  • Siemens RUGGEDCOM APE1808
    affected: fixed in V7.4.3

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-24-137-07 updated cvss 3.7

Siemens SIMATIC RTLS Locating Manager

  • Siemens SIMATIC RTLS Locating Manager (6GT2780-0DA00) <V3.0.1.1 Siemens SIMATIC RTLS Locating Manager (6GT2780-0DA10) <V3.0.1.1 Siemens SIMATIC RTLS Locating Manager (6GT2780-0DA20) <V3.0.1.1 Siemens SIMATIC RTLS Locating Manager (6GT2780-0DA30) <V3.0.1.1 Siemens SIMATIC RTLS Locating Manager (6GT2780-1EA10) <V3.0.1.1 Siemens SIMATIC RTLS Locating Manager (6GT2780-1EA20) <V3.0.1.1
    +1 more products
    Siemens SIMATIC RTLS Locating Manager (6GT2780-1EA30) <V3.0.1.1
    affected: fixed in V3.0.1.1, mitigation

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

5.96% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV 3.1 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected packages

ecosystem package affected fixed in
julia CURL_jll
<8.5.0+0
8.5.0+0
julia LibCURL_jll
<8.4.0+0
8.4.0+0

Affected products

  • curl curl
  • Siemens RUGGEDCOM APE1808
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.