Skip to content
OpenAdvisories
Medium · 5.3 CVE-2023-28322 EUVD-2023-32029GHSA-78jh-p6rf-g59w

An information disclosure vulnerability exists in curl <v8.1.0 when doing HTTP(S) transfers, libcurl might erroneously use the read callbac…

Published May 26, 2023 · Updated Feb 13, 2026 · Assigned by hackerone

Description

An information disclosure vulnerability exists in curl <v8.1.0 when doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data to send, even when the `CURLOPT_POSTFIELDS` option has been set, if the same handle previously wasused to issue a `PUT` request which used that callback. This flaw may surprise the application and cause it to misbehave and either send off the wrong data or use memory after free or similar in the second transfer. The problem exists in the logic for a reused handle when it is (expected to be) changed from a PUT to a POST.

Affected products

VendorProductAffectedFixed
— https://github.com/curl/curl Fixed in 8.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl 7.88.1-10 —
Debian 13 curl 7.88.1-10 —
Debian 12 curl 7.88.1-10 —
Debian 10 curl 7.64.0-4+deb10u8 DLA-3692-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS curl 7.81.0-1ubuntu1.11 USN-6237-1
Ubuntu 20.04 LTS curl 7.68.0-1ubuntu2.19 USN-6237-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS curl 7.58.0-2ubuntu3.24+esm1 USN-6237-3
Ubuntu Pro 16.04 LTS curl 7.47.0-1ubuntu2.19+esm9 USN-6237-3
Ubuntu Pro 14.04 LTS curl 7.35.0-1ubuntu2.20+esm16 USN-6237-3
ReleasePackageFixed inAdvisory
RHEL 9 curl +4 7.76.1-23.el9_2.2 RHSA-2023:4354
RHEL 8 curl +3 7.61.1-33.el8_9.5 RHSA-2024:1601
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.0 EUS curl +4 7.76.1-14.el9_0.7 RHSA-2023:5598
RHEL 8.8 EUS curl +3 7.61.1-30.el8_8.9 RHSA-2024:0585
RHEL 8.6 EUS curl +3 7.61.1-22.el8_6.12 RHSA-2024:0428
Red Hat JBoss Core Services 1 jbcs-httpd24-apr +1 1.7.0-8.el7jbcs RHSA-2023:4629
Red Hat JBoss Core Services 1 jbcs-httpd24-curl +2 8.2.1-1.el7jbcs RHSA-2023:4629
Red Hat JBoss Core Services 1 jbcs-httpd24-httpd +6 2.4.57-5.el7jbcs RHSA-2023:4629
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_security 2.9.3-29.el7jbcs RHSA-2023:4629
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_ssl +1 1:2.4.57-5.el7jbcs RHSA-2023:4629

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 curl +4 7.76.1-23.el9_2.2 ALSA-2023:4354
AlmaLinux 8 curl +3 7.61.1-33.el8_9.5 ALSA-2024:1601

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 curl 7.61.1-33.el8_9.5 RLSA-2024:1601
ReleasePackageFixed inAdvisory
SLES 15 SP4 curl 8.0.1-150400.5.23.1 SUSE-SU-2023:2224-1
SLES 15 SP3 curl 7.66.0-150200.4.57.1 SUSE-SU-2023:2227-1
SLES 15 SP2 curl 7.66.0-150200.4.57.1 SUSE-SU-2023:2227-1
SLES 15 SP1 curl 7.60.0-150000.51.1 SUSE-SU-2023:2226-1
SLES 12 SP5 curl 8.0.1-11.65.2 SUSE-SU-2023:2225-1
Show 22 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 curl 7.60.0-4.56.1 SUSE-SU-2023:2228-1
SLES 12 SP2 curl 7.37.0-37.98.1 SUSE-SU-2023:2230-1
SLES for SAP 15 SP3 curl 7.66.0-150200.4.57.1 SUSE-SU-2023:2227-1
SLES for SAP 15 SP2 curl 7.66.0-150200.4.57.1 SUSE-SU-2023:2227-1
SLES for SAP 15 SP1 curl 7.60.0-150000.51.1 SUSE-SU-2023:2226-1
SLES for SAP 12 SP5 curl 8.0.1-11.65.2 SUSE-SU-2023:2225-1
SLES for SAP 12 SP4 curl 7.60.0-4.56.1 SUSE-SU-2023:2228-1
SLE Real Time 15 SP3 curl 7.66.0-150200.4.57.1 SUSE-SU-2023:2227-1
SLE Micro 5.4 curl 8.0.1-150400.5.23.1 SUSE-SU-2023:2224-1
SLE Micro 5.3 curl 8.0.1-150400.5.23.1 SUSE-SU-2023:2224-1
SLE Micro 5.2 curl 7.66.0-150200.4.57.1 SUSE-SU-2023:2227-1
SLE Micro 5.1 curl 7.66.0-150200.4.57.1 SUSE-SU-2023:2227-1
SLE HPC 15 SP3 curl 7.66.0-150200.4.57.1 SUSE-SU-2023:2227-1
SLE HPC 15 SP2 curl 7.66.0-150200.4.57.1 SUSE-SU-2023:2227-1
SLE HPC 15 SP1 curl 7.60.0-150000.51.1 SUSE-SU-2023:2226-1
SUSE OpenStack Cloud Crowbar 9 curl 7.60.0-4.56.1 SUSE-SU-2023:2228-1
SUSE OpenStack Cloud 9 curl 7.60.0-4.56.1 SUSE-SU-2023:2228-1
SUSE Manager Server 4.2 curl 7.66.0-150200.4.57.1 SUSE-SU-2023:2227-1
SUSE Manager Proxy 4.2 curl 7.66.0-150200.4.57.1 SUSE-SU-2023:2227-1
SUSE Enterprise Storage 7.1 curl 7.66.0-150200.4.57.1 SUSE-SU-2023:2227-1
SUSE Enterprise Storage 7 curl 7.66.0-150200.4.57.1 SUSE-SU-2023:2227-1
SUSE Enterprise Storage 6 curl 7.60.0-150000.51.1 SUSE-SU-2023:2226-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 8.1.0-1.1 openSUSE-SU-2024:12940-1
openSUSE Leap 15.5 curl 8.0.1-150400.5.23.1 SUSE-SU-2023:2224-2
openSUSE Leap 15.4 curl 8.0.1-150400.5.23.1 SUSE-SU-2023:2224-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 curl 8.0.1-150400.5.23.1 SUSE-SU-2023:2224-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 8.1.0-r0 —
Alpine v3.23 curl 8.1.0-r0 —
Alpine v3.22 curl 8.1.0-r0 —
Alpine v3.21 curl 8.1.0-r0 —
Alpine v3.20 curl 8.1.0-r0 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 curl 8.1.0-r0 —
Alpine v3.18 curl 8.1.0-r0 —
Alpine v3.17 curl 8.1.0-r0 —
Alpine v3.16 curl 8.1.0-r0 —
Alpine v3.15 curl 8.1.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 curl +4 8.0.1-1.amzn2023.0.1 ALAS2023-2023-270
Amazon Linux 2 curl +2 8.2.1-1.amzn2.0.2 ALAS2-2023-2230

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cmake 3.21.4-10 —
Azure Linux 3 tensorflow 2.16.1-1 —
Azure Linux 2 (CBL-Mariner) cmake 3.21.4-6 —
Azure Linux 2 (CBL-Mariner) curl 8.0.1-2 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 curl +4 7.76.1-23.el9_2.2 ELSA-2023-4354
Oracle Linux 8 curl +3 7.61.1-33.el8_9.5 ELSA-2024-1601

Advisories 38

References