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

CVE-2021-45717: Use After Free in rusqlite

January 6, 2022

An issue was discovered in the rusqlite crate 0.25.x before 0.25.4 and 0.26.x before 0.26.2 for Rust. commit_hook has a use-after-free.

References

  • github.com/advisories/GHSA-4qr3-m7ww-hh9g
  • github.com/rusqlite/rusqlite
  • github.com/rusqlite/rusqlite/issues/1048
  • nvd.nist.gov/vuln/detail/CVE-2021-45717
  • raw.githubusercontent.com/rustsec/advisory-db/main/crates/rusqlite/RUSTSEC-2021-0128.md
  • rustsec.org/advisories/RUSTSEC-2021-0128.html

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.25.0 before 0.25.4, all versions starting from 0.26.0 before 0.26.2

Fixed versions

  • 0.25.4
  • 0.26.2

Solution

Upgrade to versions 0.25.4, 0.26.2 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-416: Use After Free

Source file

cargo/rusqlite/CVE-2021-45717.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:37 +0000.