Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. av-data
  4. ›
  5. CVE-2021-25904

CVE-2021-25904: Null pointer deference in av-data

August 25, 2021

An issue was discovered in the av-data crate before 0.3.0 for Rust. A raw pointer is dereferenced, leading to a read of an arbitrary memory address, sometimes causing a segfault.

References

  • github.com/advisories/GHSA-352p-rhvq-7g78
  • github.com/rust-av/rust-av
  • github.com/rust-av/rust-av/issues/136
  • nvd.nist.gov/vuln/detail/CVE-2021-25904
  • rustsec.org/advisories/RUSTSEC-2021-0007.html

Code Behaviors & Features

Detect and mitigate CVE-2021-25904 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 before 0.3.0

Fixed versions

  • 0.3.0

Solution

Upgrade to version 0.3.0 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-476: NULL Pointer Dereference

Source file

cargo/av-data/CVE-2021-25904.yml

Spotted a mistake? Edit the file on GitLab.

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

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