CVE Vulnerabilities

CVE-2023-38546

Published: Oct 18, 2023 | Modified: Jul 09, 2024
CVSS 3.x
3.7
LOW
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
3.7 LOW
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Ubuntu
LOW

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.

Affected Software

Name Vendor Start Version End Version
Libcurl Haxx 7.9.1 (including) 8.4.0 (excluding)
JBoss Core Services for RHEL 8 RedHat jbcs-httpd24-curl-0:8.4.0-2.el8jbcs *
JBoss Core Services on RHEL 7 RedHat jbcs-httpd24-curl-0:8.4.0-2.el7jbcs *
Red Hat Enterprise Linux 8 RedHat curl-0:7.61.1-33.el8_9.5 *
Red Hat Enterprise Linux 8.6 Extended Update Support RedHat curl-0:7.61.1-22.el8_6.9 *
Red Hat Enterprise Linux 8.8 Extended Update Support RedHat curl-0:7.61.1-30.el8_8.6 *
Red Hat Enterprise Linux 9 RedHat curl-0:7.76.1-23.el9_2.4 *
Red Hat Enterprise Linux 9 RedHat curl-0:7.76.1-26.el9_3.2 *
Red Hat Enterprise Linux 9 RedHat curl-0:7.76.1-23.el9_2.4 *
Red Hat Enterprise Linux 9 RedHat curl-0:7.76.1-26.el9_3.2 *
Red Hat Enterprise Linux 9.0 Extended Update Support RedHat curl-0:7.76.1-14.el9_0.9 *
Red Hat JBoss Core Services 1 RedHat curl *
RHOL-5.6-RHEL-8 RedHat openshift-logging/cluster-logging-operator-bundle:v5.6.18-16 *
RHOL-5.6-RHEL-8 RedHat openshift-logging/cluster-logging-rhel8-operator:v5.6.18-7 *
RHOL-5.6-RHEL-8 RedHat openshift-logging/elasticsearch6-rhel8:v6.8.1-409 *
RHOL-5.6-RHEL-8 RedHat openshift-logging/elasticsearch-operator-bundle:v5.6.18-16 *
RHOL-5.6-RHEL-8 RedHat openshift-logging/elasticsearch-proxy-rhel8:v1.0.0-481 *
RHOL-5.6-RHEL-8 RedHat openshift-logging/elasticsearch-rhel8-operator:v5.6.18-7 *
RHOL-5.6-RHEL-8 RedHat openshift-logging/eventrouter-rhel8:v0.4.0-246 *
RHOL-5.6-RHEL-8 RedHat openshift-logging/fluentd-rhel8:v1.14.6-216 *
RHOL-5.6-RHEL-8 RedHat openshift-logging/kibana6-rhel8:v6.8.1-430 *
RHOL-5.6-RHEL-8 RedHat openshift-logging/log-file-metric-exporter-rhel8:v1.1.0-226 *
RHOL-5.6-RHEL-8 RedHat openshift-logging/logging-curator5-rhel8:v5.8.1-472 *
RHOL-5.6-RHEL-8 RedHat openshift-logging/logging-loki-rhel8:v2.9.6-16 *
RHOL-5.6-RHEL-8 RedHat openshift-logging/logging-view-plugin-rhel8:v5.6.18-3 *
RHOL-5.6-RHEL-8 RedHat openshift-logging/loki-operator-bundle:v5.6.18-30 *
RHOL-5.6-RHEL-8 RedHat openshift-logging/loki-rhel8-operator:v5.6.18-12 *
RHOL-5.6-RHEL-8 RedHat openshift-logging/lokistack-gateway-rhel8:v0.1.0-528 *
RHOL-5.6-RHEL-8 RedHat openshift-logging/opa-openshift-rhel8:v0.1.0-226 *
RHOL-5.6-RHEL-8 RedHat openshift-logging/vector-rhel8:v0.21.0-127 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/cluster-logging-operator-bundle:v5.7.13-16 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/cluster-logging-rhel8-operator:v5.7.13-7 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/elasticsearch6-rhel8:v6.8.1-408 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/elasticsearch-operator-bundle:v5.7.13-19 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/elasticsearch-proxy-rhel8:v1.0.0-480 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/elasticsearch-rhel8-operator:v5.7.13-9 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/eventrouter-rhel8:v0.4.0-248 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/fluentd-rhel8:v1.14.6-215 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/kibana6-rhel8:v6.8.1-431 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/log-file-metric-exporter-rhel8:v1.1.0-228 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/logging-curator5-rhel8:v5.8.1-471 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/logging-loki-rhel8:v2.9.6-15 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/logging-view-plugin-rhel8:v5.7.13-3 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/loki-operator-bundle:v5.7.13-27 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/loki-rhel8-operator:v5.7.13-12 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/lokistack-gateway-rhel8:v0.1.0-527 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/opa-openshift-rhel8:v0.1.0-225 *
RHOL-5.7-RHEL-8 RedHat openshift-logging/vector-rhel8:v0.28.1-57 *
Satellite Client 6 for RHEL 6 RedHat puppet-agent-0:7.28.0-1.el6sat *
Satellite Client 6 for RHEL 7 RedHat puppet-agent-0:7.28.0-1.el7sat *
Satellite Client 6 for RHEL 8 RedHat puppet-agent-0:7.28.0-1.el8sat *
Satellite Client 6 for RHEL 9 RedHat puppet-agent-0:7.28.0-1.el9sat *
Curl Ubuntu bionic *
Curl Ubuntu devel *
Curl Ubuntu esm-infra/bionic *
Curl Ubuntu esm-infra/xenial *
Curl Ubuntu focal *
Curl Ubuntu jammy *
Curl Ubuntu lunar *
Curl Ubuntu mantic *
Curl Ubuntu noble *
Curl Ubuntu oracular *
Curl Ubuntu trusty *
Curl Ubuntu trusty/esm *
Curl Ubuntu xenial *

References