Curl
wolfSSL CA-cache hit overrides callback
With the wolfSSL backend, when CA caching is enabled and an `CURLOPT_SSL_CTX_FUNCTION` callback replaces the trust store, libcurl can silently reinstall the cached store after the callback returns. A certificate trusted by the cached store but rejected by the callback-selected store is then incorrectly accepted.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CISA ADP · CWE-295
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
curl curl
- >= 8.9.1, < 8.14.2
- >= 8.15.0, < 8.16.1
- >= 8.17.0, < 8.20.1
- >= 8.21.0, < 8.22.0
Fixed in 8.14.2, 8.16.1, 8.20.1, 8.22.0
curl curl
- >= 0f2876b2c33f6784a27b6f7345bd8cd95b46352a, < ed0338befd1d865a8ea1fbaa90013a096dedd07a
Fixed in ed0338befd1d865a8ea1fbaa90013a096dedd07a
curl curl
- 8.21.0
- 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
- 8.10.1
- 8.10.0
- 8.9.1
Mitigation
Upgrade curl to 8.14.2 or 8.16.1 or 8.20.1 or 8.22.0 or later.
Upgrade curl to ed0338befd1d865a8ea1fbaa90013a096dedd07a 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.