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

CVE-2021-45714: Use After Free in rusqlite

January 6, 2022 (updated January 7, 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. create_aggregate_function has a use-after-free.

References

  • github.com/advisories/GHSA-f6f2-3w33-54r9
  • github.com/rusqlite/rusqlite
  • github.com/rusqlite/rusqlite/issues/1048
  • nvd.nist.gov/vuln/detail/CVE-2021-45714
  • 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-45714 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:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-416: Use After Free

Source file

cargo/rusqlite/CVE-2021-45714.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:58 +0000.