CVE-2021-22945
MySQL vulnerability analysis and mitigation

Overview

CVE-2021-22945 is a critical vulnerability in libcurl versions <= 7.73.0 and 7.78.0 that was disclosed in September 2021. When sending data to an MQTT server, libcurl could 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, leading to use-after-free and double-free conditions (NVD, curl).

Technical details

The vulnerability is classified as a double-free (CWE-415) memory corruption issue. It has a CVSS v3.1 base score of 9.1 (CRITICAL) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H, indicating it is network exploitable with low attack complexity and no required privileges or user interaction (NVD).

Impact

Successful exploitation of this vulnerability could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). The high severity rating indicates potential for significant impact on system confidentiality and availability (NetApp Advisory).

Mitigation and workarounds

The vulnerability was fixed in curl version 7.79.0. Users should upgrade to this version or later to address the issue. Multiple vendors have released patches including Red Hat, Debian, Oracle, Apple and others (Fedora Update, Debian Advisory).

Additional resources


SourceThis report was generated using AI

Related MySQL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-53054MEDIUM5.5
  • MySQLMySQL
  • mecab-ipadic
NoYesOct 21, 2025
CVE-2025-53053MEDIUM5.5
  • MySQLMySQL
  • mecab
NoYesOct 21, 2025
CVE-2025-53069MEDIUM4.9
  • MySQLMySQL
  • mysql
NoYesOct 21, 2025
CVE-2025-53067MEDIUM4.9
  • MySQLMySQL
  • cpe:2.3:a:oracle:mysql_server
NoYesOct 21, 2025
CVE-2025-53062MEDIUM4.9
  • MySQLMySQL
  • mysql8.4-test
NoYesOct 21, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management