CVE Vulnerabilities

CVE-2020-8231

Use After Free

Published: Dec 14, 2020 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
3.7 LOW
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Ubuntu
LOW

Due to use of a dangling pointer, libcurl 7.29.0 through 7.71.1 can use the wrong connection when sending data.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Libcurl Haxx 7.29.0 (including) 7.71.1 (including)
Red Hat Enterprise Linux 8 RedHat curl-0:7.61.1-18.el8 *
Curl Ubuntu bionic *
Curl Ubuntu esm-infra-legacy/trusty *
Curl Ubuntu esm-infra/bionic *
Curl Ubuntu esm-infra/focal *
Curl Ubuntu esm-infra/xenial *
Curl Ubuntu focal *
Curl Ubuntu groovy *
Curl Ubuntu precise/esm *
Curl Ubuntu trusty *
Curl Ubuntu trusty/esm *
Curl Ubuntu upstream *
Curl Ubuntu xenial *

Potential Mitigations

References