Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. libcurl
  4. ›
  5. CVE-2021-22945

CVE-2021-22945: Double Free

September 23, 2021 (updated November 7, 2023)

When sending data to an MQTT server, libcurl 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.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-22945

Code Behaviors & Features

Detect and mitigate CVE-2021-22945 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 7.73.0 up to 7.78.0

Fixed versions

  • 7.79.1

Solution

Upgrade to version 7.79.1 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-415: Double Free

Source file

conan/libcurl/CVE-2021-22945.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:08 +0000.