CVE Catalog

CVE-2023-28319

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
2.49%

85th percentile - higher than 85% of all known CVEs

Summary

A use-after-free vulnerability exists in curl < v8.1.0 in libcurl's feature to verify an SSH server's public key using a SHA 256 hash. When this check fails, libcurl frees the memory for the fingerprint before returning an error message containing the (now freed) hash, risking insertion of sensitive heap-based data into the error message.

Risk Assessment

Sensitive heap data could leak in error messages shown to users or in logs, potentially revealing confidential information.

Recommendation

Update curl/libcurl to version 8.1.0 or later. Review logs for potential data leaks from error messages.

Other vulnerabilities in curl

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS