CVE-2023-28319

high

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.

References

https://support.apple.com/kb/HT213845

https://support.apple.com/kb/HT213844

https://support.apple.com/kb/HT213843

https://security.netapp.com/advisory/ntap-20230609-0009/

https://security.gentoo.org/glsa/202310-12

http://seclists.org/fulldisclosure/2023/Jul/52

http://seclists.org/fulldisclosure/2023/Jul/48

http://seclists.org/fulldisclosure/2023/Jul/47

Details

Source: Mitre, NVD

Published: 2023-05-26

Updated: 2023-10-20

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

Severity: High

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Severity: High