CVE-2023-28319: Use After Free

Published May 10, 2023
·
Updated

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.

Other sources

Accounts. A privacy issue was addressed with improved private data redaction for log entries.

Apple

AMD. A race condition was addressed with improved state handling.

Apple

Apple Neural Engine. The issue was addressed with improved memory handling.

Apple

AppleMobileFileIntegrity. A downgrade issue affecting Intel-based Mac computers was addressed with additional code-signing restrictions.

Apple

AppSandbox. A logic issue was addressed with improved restrictions.

Apple

Credit

CVE-2023-28319, CVE-2023-28320, CVE-2023-28321, CVE-2023-28322, pattern-f@@pattern_F_(Ant Security Light), Mohamed GHANNAM@@_simo36, Mickey Jin@@patch1t, Gergely Kalman@@gergely_kalman, Wojciech Regula(SecuRing), Erhad Husovic, Sei K., Kirin@@Pwnrin(SecuRing), (SecuRing), Bool(YunShangHuaAn), found by OSS-Fuzz, Arsenii Kostromin (0x3c3e), Zweig(Kunlun Lab), 香农的三蹦子(Pangu Lab), an anonymous researcher, Pan ZhenPeng@@Peterpan0927(STAR Labs SG Pte), Peter Nguyễn Vũ Hoàng@@peternguyen14(STAR Labs SG Pte), Certik Skyfall Team, Kaitao Xie(Alibaba Group), Xiaolong Bai(Alibaba Group), Valentin Pashkov(Kaspersky), Mikhail Vinogradov(Kaspersky), Georgy Kucherin@@kucher1n(Kaspersky), Leonid Bezvershenko@@bzvr_(Kaspersky), (Kaspersky), Boris Larin@@oct0xor(Kaspersky), Zhipeng Huo@@R3dF09(Tencent Security Xuanwu Lab), Noah Roskin-Frazee, Taavi Eomäe(Zone Media O), Mickey Jin@@patch1t(Trend Micro Zero Day Initiative), (Trend Micro Zero Day Initiative), Michael DePlante@@izobashi(Trend Micro Zero Day Initiative), CVE-2023-1916, Jonathan Bar Or(Microsoft), Emanuele Cozzi(Microsoft), (Microsoft), Michael Pearse(Microsoft), Csaba Fitzl@@theevilbit(Offensive Security), Sandipan Roy, James Duffy (mangoSecure), Michael Cowell, David Hoyt(Hoyt LLC), Wenchao Li(Hangzhou Orange Shield Information Technology Co), Xiaolong Bai(Hangzhou Orange Shield Information Technology Co), Ltd., CVE-2023-1801, Matthew Loewen, CVE-2023-2426, CVE-2023-2609, CVE-2023-2610, Yiğit Can YILMAZ@@yilmazcanyigit, Pr, Kirin@@Pwnrin, Yishu Wang, Adam M., Johan Carlsson (joaxcar), Narendra Bhati (twitter.com/imnarendrabhati)(Suma Soft Pvt), Pune - India, Hritvik Taneja, Jason Kim, Jie Jeff Xu, Stephan van Schaik, Daniel Genkin, Yuval Yarom, Pune - India(TU Wien), Valentino Dalla Valle(TU Wien), Pedro Bernardo(TU Wien), Marco Squarcina(TU Wien), (TU Wien), Lorenzo Veronese(TU Wien), Yuhao Hu, Jiming Wang, Jikai Ren, Anonymous(Trend Micro Zero Day Initiative), Francisco Alonso@@revskills, Junsung Lee, Apple, 이준성(Junsung Lee)(Cross Republic), YeongHyeon Choi@@hyeon101010, ABC Research s.r.o.

Affected Software

28 affected componentsFixes available
redhat/curl<8.1.0
8.1.0
Apple macOS Big Sur<11.7.9
11.7.9
IBM IBM® Engineering Requirements Management DOORS<=9.7.2.7
IBM IBM® Engineering Requirements Management DOORS Web Access<=9.7.2.7
haxx curl<8.1.0
Apple macOS Monterey<12.6.8
12.6.8
Apple macOS Ventura<13.5
13.5
Apple macOS>=11.0<11.7.9
Apple macOS>=12.0<12.6.8
Apple macOS>=13.0<13.5
NetApp Clustered Data ONTAP
NetApp Ontap Antivirus Connector
All of the following
NetApp H300s Firmware
NetApp H300s
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H700s Firmware
NetApp H700s
All of the following
NetApp H410s Firmware
NetApp H410s
NetApp H300s Firmware
NetApp H300s
NetApp H500s Firmware
NetApp H500s
NetApp H700s Firmware
NetApp H700s
NetApp H410s Firmware
NetApp H410s

Remediation

Event History

May 26, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Jul 24, 2023
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Updated
via Apple·12:00 AM
DescriptionWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID of this issue?

The vulnerability ID of this issue is CVE-2023-28319.

2

What is the severity of CVE-2023-28319?

The severity of CVE-2023-28319 is high.

3

Which software is affected by CVE-2023-28319?

The software affected by CVE-2023-28319 includes Haxx Curl, Apple macOS (version 11.0 to 11.7.9), Apple macOS (version 12.0 to 12.6.8), Apple macOS (version 13.0 to 13.5), Apple macOS Big Sur, Apple macOS Monterey.

4

How does CVE-2023-28319 affect libcurl?

CVE-2023-28319 is a use after free vulnerability in libcurl that occurs when verifying an SSH server's public key using a SHA 256 hash.

5

Where can I find more information about CVE-2023-28319?

You can find more information about CVE-2023-28319 at the following references: [HackerOne report](https://hackerone.com/reports/1913733), [Seclist 1](http://seclists.org/fulldisclosure/2023/Jul/47), [Seclist 2](http://seclists.org/fulldisclosure/2023/Jul/48).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203