Use-after-free in cURL - CVE-2023-28319

 

Use-after-free in cURL - CVE-2023-28319

Published: May 17, 2023


Vulnerability identifier: #VU76233
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-28319
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to a use-after-free error when checking the SSH sha256 fingerprint. A remote attacker can use the application to connect to a malicious SSH server, trigger a use-after-free error and gain access to potentially sensitive information.

Successful exploitation of the vulnerability requires usage of the the CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256 option, and also CURLOPT_VERBOSE or CURLOPT_ERRORBUFFER options have to be set.


Affected software

cURL
Amazon Linux AMI
Gentoo Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Software Development Kit 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro for Rancher
SUSE Linux Enterprise Micro
openSUSE Leap Micro
macOS
Oracle Solaris
Slackware Linux
Basesystem Module
openSUSE Leap
Dell EMC PowerProtect Data Protection
Dell Data Protection Central
ObjectScale
Telemetry Dashboard
Liquidware
IBM Engineering Requirements Management DOORS Next
Citrix Workspace App
Webex App VDI
Storage Copy Data Management
DB2 Warehouse on Cloud Pak for Data
DB2 on Cloud Pak for Data
Watson Studio on Cloud Pak for Data
Index Engines CyberSense
Storage Protect Plus Server
Wyse Device Agent
Dell PowerProtect Cyber Recovery
LANTIME Operating System Firmware (LTOS)
IBM QRadar WinCollect Agent
IBM Automation Decision Services
IBM Cloud Transformation Advisor
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
Cisco Jabber
Cisco Webex Meetings
VMware Horizon Client
jbcs-httpd24-mod_proxy_cluster (Red Hat package)
jbcs-httpd24-apr-util (Red Hat package)
jbcs-httpd24-apr (Red Hat package)
jbcs-httpd24-mod_http2 (Red Hat package)
jbcs-httpd24-mod_md (Red Hat package)
jbcs-httpd24-httpd (Red Hat package)
jbcs-httpd24-mod_security (Red Hat package)
curl
libcurl-devel
curl-debugsource
libcurl4-debuginfo-32bit
libcurl4-32bit
libcurl4-debuginfo
libcurl4
curl-debuginfo
libcurl-devel-32bit
libcurl4-32bit-debuginfo
jbcs-httpd24-curl (Red Hat package)
net-misc/curl
JBoss Core Services
RecoverPoint for VMs
Dell EMC VxRail Appliance

How to mitigate CVE-2023-28319

Install updates from vendor's website.

cURL - update to 8.1.0
ObjectScale - update to 1.3.0
Telemetry Dashboard - update to 1.1.0.6 on Thin OS 2405
Liquidware - update to 6.7.0.2.2 on Thin OS 2405
LANTIME Operating System Firmware (LTOS) - update to 7.08.002
IBM Engineering Requirements Management DOORS Next - update to 9.7.2.8
IBM QRadar WinCollect Agent - update to 10.1.6
macOS - addressed in versions 11.7.9 20G1426, 12.6.8 21G725, 13.5 22G74
Cisco Jabber - update to 14.3.0.308378.11 on Thin OS 2405
Citrix Workspace App - update to 24.2.0.65.17 on Thin OS 2405
IBM Automation Decision Services - update to 24.0.0.0.4
Webex App VDI - update to 44.2.0.28744.1 on Thin OS 2405
Cisco Webex Meetings - update to 44.2.0.76.2 on Thin OS 2405
VMware Horizon Client - update to 2312.1.8.12.1.5 on Thin OS 2405
jbcs-httpd24-mod_proxy_cluster (Red Hat package) - addressed in versions 1.3.19-4.el7jbcs, 1.3.19-4.el8jbcs
jbcs-httpd24-apr-util (Red Hat package) - addressed in versions 1.6.1-102.el7jbcs, 1.6.1-102.el8jbcs
jbcs-httpd24-apr (Red Hat package) - addressed in versions 1.7.0-8.el7jbcs, 1.7.0-8.el8jbcs
jbcs-httpd24-mod_http2 (Red Hat package) - addressed in versions 1.15.19-28.el7jbcs, 1.15.19-28.el8jbcs
Storage Copy Data Management - update to 2.2.24.0
jbcs-httpd24-mod_md (Red Hat package) - addressed in versions 2.4.0-25.el7jbcs, 2.4.0-25.el8jbcs
JBoss Core Services - update to 2.4.57
jbcs-httpd24-httpd (Red Hat package) - addressed in versions 2.4.57-5.el7jbcs, 2.4.57-5.el8jbcs
jbcs-httpd24-mod_security (Red Hat package) - addressed in versions 2.9.3-29.el7jbcs, 2.9.3-29.el8jbcs
IBM Cloud Transformation Advisor - update to 3.10.0
DB2 Warehouse on Cloud Pak for Data - update to 4.8.2
DB2 on Cloud Pak for Data - update to 4.8.2
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 4.8.5
Watson Studio on Cloud Pak for Data - update to 5.0.3
RecoverPoint for VMs - update to 6.0.SP1.P1
curl - update to 8.0.1-1
libcurl-devel - addressed in versions 8.0.1-11.65.2, 8.0.1-150400.5.23.1
curl-debugsource - addressed in versions 8.0.1-11.65.2, 8.0.1-150400.5.23.1
libcurl4-debuginfo-32bit - update to 8.0.1-11.65.2
libcurl4-32bit - addressed in versions 8.0.1-11.65.2, 8.0.1-150400.5.23.1
libcurl4-debuginfo - addressed in versions 8.0.1-11.65.2, 8.0.1-150400.5.23.1
libcurl4 - addressed in versions 8.0.1-11.65.2, 8.0.1-150400.5.23.1
curl - addressed in versions 8.0.1-11.65.2, 8.0.1-150400.5.23.1
curl-debuginfo - addressed in versions 8.0.1-11.65.2, 8.0.1-150400.5.23.1
libcurl-devel-32bit - update to 8.0.1-150400.5.23.1
libcurl4-32bit-debuginfo - update to 8.0.1-150400.5.23.1
Dell EMC VxRail Appliance - update to 8.0.101
curl - update to 8.1.0
jbcs-httpd24-curl (Red Hat package) - addressed in versions 8.2.1-1.el7jbcs, 8.2.1-1.el8jbcs
Index Engines CyberSense - update to 8.3
net-misc/curl - update to 8.3.0-r2
Storage Protect Plus Server - update to 10.1.16.3
Wyse Device Agent - update to 14.6.10.18
Dell PowerProtect Cyber Recovery - update to 19.14.0.1

External References

Related Security Bulletins