Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. pnet
  4. ›
  5. CVE-2019-25054

CVE-2019-25054: Missing Initialization of Resource in pnet

January 6, 2022 (updated January 7, 2022)

An issue was discovered in the pnet crate before 0.27.2 for Rust. There is a segmentation fault (upon attempted dereference of an uninitialized descriptor) because of an erroneous IcmpTransportChannelIterator compiler optimization.

References

  • github.com/advisories/GHSA-24g6-5rx7-58wj
  • github.com/libpnet/libpnet
  • github.com/libpnet/libpnet/issues/449
  • nvd.nist.gov/vuln/detail/CVE-2019-25054
  • raw.githubusercontent.com/rustsec/advisory-db/main/crates/pnet/RUSTSEC-2019-0037.md
  • rustsec.org/advisories/RUSTSEC-2019-0037.html

Code Behaviors & Features

Detect and mitigate CVE-2019-25054 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 before 0.27.2

Fixed versions

  • 0.27.2

Solution

Upgrade to version 0.27.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-909: Missing Initialization of Resource

Source file

cargo/pnet/CVE-2019-25054.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:41 +0000.