CURL-CVE-2023-28319

Source
https://curl.se/docs/CVE-2023-28319.html
Import Source
https://curl.se/docs/CURL-CVE-2023-28319.json
JSON Data
https://api.osv.dev/v1/vulns/CURL-CVE-2023-28319
Aliases
Published
2023-05-17T08:00:00Z
Modified
2024-06-07T13:53:51Z
Summary
UAF in SSH sha256 fingerprint check
Details

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
Credits
    • Wei Chong Tan - FINDER
    • Daniel Stenberg - REMEDIATION_DEVELOPER

Affected packages

Git / github.com/curl/curl.git

Affected ranges

Type
SEMVER
Events
Introduced
7.81.0
Fixed
8.1.0
Type
GIT
Repo
https://github.com/curl/curl.git
Events

Affected versions

7.*

7.81.0
7.82.0
7.83.0
7.83.1
7.84.0
7.85.0
7.86.0
7.87.0
7.88.0
7.88.1

8.*

8.0.0
8.0.1