Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Wed, 27 Mar 2024 07:58:05 +0100 (CET)
From: Daniel Stenberg <>
To: curl security announcements -- curl users <>,, libcurl hacking <>,
Subject: [SECURITY ADVISORY] curl: CVE-2024-2379: QUIC certificate check
 bypass with wolfSSL

QUIC certificate check bypass with wolfSSL

Project curl Security Advisory, March 27 2024 -


libcurl skips the certificate verification for a QUIC connection under certain
conditions, when built to use wolfSSL. If told to use an unknown/bad cipher or
curve, the error path accidentally skips the verification and returns OK, thus
ignoring any certificate problems.


To trigger, this issue also requires that the used wolfSSL library was built
with the `OPENSSL_COMPATIBLE_DEFAULTS` symbol set, which is **not** set for
the recommended `configure --enable-curl` builds.

The Common Vulnerabilities and Exposures (CVE) project has assigned the name
CVE-2024-2379 to this issue.

CWE-295: Improper Certificate Validation

Severity: Low


- Affected versions: curl 8.6.0 to and including 8.6.0
- Not affected versions: curl < 8.6.0 and >= 8.7.0
- Introduced-in:

libcurl is used by many applications, but not always advertised as such!

This flaw is also accessible using the curl command line tool.


Starting in curl 8.7.0, this mistake is fixed.

- Fixed-in:


  A - Upgrade curl to version 8.7.0

  B - Apply the patch to your local version

  C - Avoid using HTTP/3 with curl built to use wolfSSL


This issue was reported to the curl project on March 10, 2024. We contacted
distros@...nwall on March 19, 2024.

curl 8.7.0 was released on March 27 2024 around 07:00 UTC, coordinated with
the publication of this advisory.

The curl security team is not aware of any active exploits using this


- Reported-by: Dexter Gerig
- Patched-by: Daniel Stenberg

Thanks a lot!



Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.