CVE-2021-22945CWE-415

CVE-2021-22945

Critical · published September 23, 2021

CVSS v3.1
9.1
EPSS
7%
Percentile
93.9
In the wild
Unconfirmed
What it is

🚨 A double-dipping memory issue is lurking! When libcurl (versions <= 7.73.0 and 7.78.0) sends data to an MQTT server, it might accidentally reuse freed memory like a reckless chef double-ordering ingredients. 🔥 Think of it like a restaurant where a chef mistakenly uses the same expired ingredients for two different dishes—once served, the customers might get something that's not just stale but could make them sick! An attacker could exploit this gaffe to trigger unexpected behaviors or crashes in applications that rely on this library, leading to potential data loss or system instability. This is absolutely devastating for any applications that depend on libcurl for reliable communication!

Put simply

Think of it like a restaurant where a chef mistakenly uses the same expired ingredients for two different dishes—once served, the customers might get something that's not just stale but could make them sick! CVE-2021-22945 is a critical vulnerability where libcurl erroneously retains a pointer to freed memory when communicating with an MQTT server. This can lead to double-free errors, causing unpredictable behaviors or memory corruption.

What to do

An attacker could exploit this gaffe to trigger unexpected behaviors or crashes in applications that rely on this library, leading to potential data loss or system instability. This is absolutely devastating for any applications that depend on libcurl for reliable communication! To safeguard your applications, upgrade libcurl to versions 7.78.1 or higher immediately. Additionally, review and test your implementation to ensure it doesn’t rely on potentially unstable versions. Don’t wait—act now! You've got this! Follow these steps, and you'll have your systems secured in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.06677 · 93.9th percentile
Weakness
CWE-415 · Double Free
Published
2021-09-23T17:15Z
Affected products (21)
ProductVersionsFixed in
haxx/libcurl≥ 7.73.0, ≤ 7.78.0—
fedoraproject/fedoraall versions—
fedoraproject/fedoraall versions—
netapp/cloud_backupall versions—
netapp/clustered_data_ontapall versions—
oracle/mysql_server≥ 5.7.0, ≤ 5.7.35—
oracle/mysql_server≥ 8.0.0, ≤ 8.0.26—
netapp/h300s_firmwareall versions—
netapp/h500s_firmwareall versions—
netapp/h700s_firmwareall versions—
netapp/h300e_firmwareall versions—
netapp/h500e_firmwareall versions—
netapp/h700e_firmwareall versions—
netapp/h410s_firmwareall versions—
netapp/solidfire_baseboard_management_controller_firmwareall versions—
apple/macos≥ 12.0.0, < 12.312.3
siemens/sinec_ins< 1.0.1.11.0.1.1
debian/debian_linuxall versions—
splunk/universal_forwarder≥ 8.2.0, < 8.2.128.2.12
splunk/universal_forwarder≥ 9.0.0, < 9.0.69.0.6
splunk/universal_forwarderall versions—
References (22)
http://seclists.org/fulldisclosure/2022/Mar/29 · [email protected]https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf · [email protected]https://hackerone.com/reports/1269242 · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APOAK4X73EJTAPTSVT7IRVDMUWVXNWGD/ · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RWLEC6YVEM2HWUBX67SDGPSY4CQB72OE/ · [email protected]https://security.gentoo.org/glsa/202212-01 · [email protected]https://security.netapp.com/advisory/ntap-20211029-0003/ · [email protected]https://support.apple.com/kb/HT213183 · [email protected]https://www.debian.org/security/2022/dsa-5197 · [email protected]https://www.oracle.com/security-alerts/cpuoct2021.html · [email protected]http://seclists.org/fulldisclosure/2022/Mar/29 · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf · af854a3a-2127-422b-91ae-364da2661108https://hackerone.com/reports/1269242 · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APOAK4X73EJTAPTSVT7IRVDMUWVXNWGD/ · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RWLEC6YVEM2HWUBX67SDGPSY4CQB72OE/ · af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/202212-01 · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20211029-0003/ · af854a3a-2127-422b-91ae-364da2661108https://support.apple.com/kb/HT213183 · af854a3a-2127-422b-91ae-364da2661108https://www.debian.org/security/2022/dsa-5197 · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpuoct2021.html · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-389290.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-398330.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 23 SEP 00:00Z
    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…
    cvelistv5