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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: hackerone

Published: 2023-05-26T00:00:00

Updated: 2024-08-02T12:38:24.827Z

Reserved: 2023-03-14T00:00:00

Link: CVE-2023-28319

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2023-05-26T21:15:10.020

Modified: 2023-10-20T18:42:56.687

Link: CVE-2023-28319

cve-icon Redhat

Severity : Moderate

Publid Date: 2023-05-17T00:00:00Z

Links: CVE-2023-28319 - Bugzilla