Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. through
  4. ›
  5. CVE-2021-29940

CVE-2021-29940: Double free in through

August 25, 2021

An issue was discovered in the through crate through 2021-02-18 for Rust. There is a double free (in through and through_and) upon a panic of the map function.

References

  • github.com/advisories/GHSA-5hpj-m323-cphm
  • github.com/gretchenfrage/through
  • github.com/gretchenfrage/through/issues/1
  • nvd.nist.gov/vuln/detail/CVE-2021-29940
  • rustsec.org/advisories/RUSTSEC-2021-0049.html

Code Behaviors & Features

Detect and mitigate CVE-2021-29940 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 up to 0.1.0

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-415: Double Free

Source file

cargo/through/CVE-2021-29940.yml

Spotted a mistake? Edit the file on GitLab.

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

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