CVE-2021-22945Double Free in Libcurl

Severity
9.1CRITICALNVD
EPSS
0.4%
top 42.25%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 23
Latest updateMay 24

Description

When sending data to an MQTT server, libcurl <= 7.73.0 and 7.78.0 could in some circumstances erroneously keep a pointer to an already freed memory area and both use that again in a subsequent call to send data and also free it *again*.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HExploitability: 3.9 | Impact: 5.2

Affected Packages8 packages

NVDhaxx/libcurl7.73.07.78.0
NVDoracle/mysql_server5.7.05.7.35+1
NVDapple/macos12.0.012.3
NVDsiemens/sinec_ins< 1.0.1.1
NVDsplunk/universal_forwarder8.2.08.2.12+2

Also affects: Debian Linux 11.0, Fedora 33, 35

Patches

🔴Vulnerability Details

5
GHSA
GHSA-22mx-9r92-42g8: When sending data to an MQTT server, libcurl <= 72022-05-24
OSV
CVE-2021-22945: When sending data to an MQTT server, libcurl <= 72021-09-23
CVEList
CVE-2021-22945: When sending data to an MQTT server, libcurl <= 72021-09-23
OSV
curl vulnerabilities2021-09-21
OSV
curl vulnerabilities2021-09-15

📋Vendor Advisories

5
Apple
CVE-2021-22945: macOS Monterey 12.32022-03-14
Ubuntu
curl vulnerabilities2021-09-15
Red Hat
curl: use-after-free and double-free in MQTT sending2021-09-15
Microsoft
When sending data to an MQTT server libcurl <= 7.73.0 and 7.78.0 could in some circumstances erroneously keep a pointer to an already freed memory area and both use that again in a subsequent call to 2021-09-14
Debian
CVE-2021-22945: curl - When sending data to an MQTT server, libcurl <= 7.73.0 and 7.78.0 could in some ...2021

💬Community

1
HackerOne
CVE-2021-22945: UAF and double-free in MQTT sending2021-09-15
CVE-2021-22945 — Double Free in Haxx Libcurl | cvebase