Skip to content
OpenAdvisories
High · 7.5 CVE-2023-28319 EUVD-2023-32026GHSA-6xq7-qqp2-9mmc

A use after free vulnerability exists in curl <v8.1.0 in the way libcurl offers a feature to verify an SSH server's public key using a SHA …

Published May 26, 2023 · Updated Jan 15, 2025 · Assigned by hackerone

Description

A use after free vulnerability exists in curl <v8.1.0 in the way libcurl offers a feature to verify an SSH server's public key using a SHA 256 hash. When this check fails, libcurl would free the memory for the fingerprint before it returns an error message containing the (now freed) hash. This flaw risks inserting sensitive heap-based data into the error message that might be shown to users or otherwise get leaked and revealed.

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 —
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
SLES 15 SP4 curl 8.0.1-150400.5.23.1 SUSE-SU-2023:2224-1
SLES 12 SP5 curl 8.0.1-11.65.2 SUSE-SU-2023:2225-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 curl 8.0.1-11.65.2 SUSE-SU-2023:2225-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
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 tensorflow 2.16.1-1 —
Azure Linux 2 (CBL-Mariner) curl 8.2.1-1 —
Azure Linux 2 (CBL-Mariner) mysql 8.0.34-1 —
Azure Linux 2 (CBL-Mariner) rust 1.72.0-2 —

Advisories 17

References