Curl
exposing HTTP/3 early data
In this scenario, libcurl first uses a proper HTTP/3 server for the initial transfers, and when it makes a second transfer to the same site it has been replaced by the attacker's impostor machine - without a valid certificate. When libcurl returns to the hostname the second time with a cached SSL session (`CURLOPT_SSL_SESSIONID_CACHE` is not disabled) and early data enabled (the `CURLSSLOPT_EARLYDATA` bit is set in `CURLOPT_SSL_OPTIONS`), libcurl might send off the second request's bytes on that new connection *before* enforcing the certificate verification failure. Potentially leaking sensitive information.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8.11.0, < 8.14.2
- >= 8.15.0, < 8.16.1
- >= 8.17.0, < 8.20.1
Fixed in 8.14.2, 8.16.1, 8.20.1
- >= 962097b8dd44ed5b9e7984bc1cdffdbdd566857f, < 7b9613fa9b1a5e04301a3920eef58e8138dad05e
Fixed in 7b9613fa9b1a5e04301a3920eef58e8138dad05e
- 8.20.0
- 8.19.0
- 8.18.0
- 8.17.0
- 8.16.0
- 8.15.0
- 8.14.1
- 8.14.0
- 8.13.0
- 8.12.1
- 8.12.0
- 8.11.1
- 8.11.0
Mitigation
Upgrade curl to 8.14.2 or 8.16.1 or 8.20.1 or later.
Upgrade curl to 7b9613fa9b1a5e04301a3920eef58e8138dad05e or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.