Description
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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | https://github.com/curl/curl | Fixed in 8.1.0 |
References
- http://seclists.org/fulldisclosure/2023/Jul/47Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2023/Jul/48Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2023/Jul/52Mailing List, Third Party Advisory
- https://hackerone.com/reports/1913733Exploit, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202310-12Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230609-0009/Third Party Advisory
- https://support.apple.com/kb/HT213843Third Party Advisory
- https://support.apple.com/kb/HT213844Third Party Advisory
- https://support.apple.com/kb/HT213845Third Party Advisory
- http://seclists.org/fulldisclosure/2023/Jul/47Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2023/Jul/48Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2023/Jul/52Mailing List, Third Party Advisory
- https://hackerone.com/reports/1913733Exploit, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202310-12Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230609-0009/Third Party Advisory
- https://support.apple.com/kb/HT213843Third Party Advisory
- https://support.apple.com/kb/HT213844Third Party Advisory
- https://support.apple.com/kb/HT213845Third Party Advisory
Timeline
- Published
- May 26, 2023
- Last modified
- Oct 23, 2026
- NVD status
- Modified