Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. pnet
  4. ›
  5. GHSA-r6ff-2q3c-v3pv

GHSA-r6ff-2q3c-v3pv: Compiler optimisation leads to SEGFAULT

August 25, 2021

Affected versions of the pnet crate were optimized out by compiler, which caused dereference of uninitialized file descriptor which caused segfault.

References

  • github.com/advisories/GHSA-r6ff-2q3c-v3pv
  • github.com/libpnet/libpnet
  • github.com/libpnet/libpnet/issues/449
  • github.com/libpnet/libpnet/pull/455
  • rustsec.org/advisories/RUSTSEC-2019-0037.html

Code Behaviors & Features

Detect and mitigate GHSA-r6ff-2q3c-v3pv 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 6 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-908: Use of Uninitialized Resource

Source file

cargo/pnet/GHSA-r6ff-2q3c-v3pv.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:51 +0000.