CVE-2023-28319
Publication date 17 May 2023
Last updated 24 July 2024
Ubuntu priority
Cvss 3 Severity Score
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
curl | ||
22.04 LTS jammy |
Not affected
|
|
20.04 LTS focal |
Not affected
|
|
18.04 LTS bionic |
Not affected
|
|
16.04 LTS xenial |
Not affected
|
|
14.04 LTS trusty |
Not affected
|
Notes
mdeslaur
introduced in 7.81.0 in https://github.com/curl/curl/commit/3467e89bb97e6c87c7 This only affects curl when built with libssh2. Ubuntu packages contain a delta from debian to build with libssh instead of libssh2, so Ubuntu is not affected by this vulnerability.
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.5 · High |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | None |
Availability impact | None |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |