NULL Pointer Dereference Affecting pnet package, versions <0.27.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-PNET-1015407
  • published2 Oct 2020
  • disclosed11 Jun 2019
  • creditUnknown

Introduced: 11 Jun 2019

CVE-2019-25054  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade pnet to version 0.27.2 or higher.

Overview

pnet is a cross-platform, low level networking using the Rust programming language.

Affected versions of this package are vulnerable to NULL Pointer Dereference. Compiler optimisation for next_with_timeout in pnet::transport::IcmpTransportChannelIterator causes dereference of uninitialized file descriptor which leads to segfault.

CVSS Scores

version 3.1