Advisory

RUSTSEC-2019-0037

Also known as: CVE-2019-25054, GHSA-24g6-5rx7-58wj, GHSA-r6ff-2q3c-v3pv

Summary

Compiler optimisation for next_with_timeout in pnet::transport::IcmpTransportChannelIterator flaws to SEGFAULT

Details

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

Severity

Medium Basis: CVSS v3 score 6, vector CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H

Dates

Published
2019-06-11 12:00 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

pnet

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.27.2 (semver)

Fixed versions

0.27.2

Fix

  • Fixed version 0.27.2
    cargo update -p pnet --precise 0.27.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences