A use after free vulnerability exists in curl <v8.1.0 in...
High severity
Unreviewed
Published
May 26, 2023
to the GitHub Advisory Database
•
Updated Apr 4, 2024
Description
Published by the National Vulnerability Database
May 26, 2023
Published to the GitHub Advisory Database
May 26, 2023
Last updated
Apr 4, 2024
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