CVE-2019-25054
HIGH 7.5CVSS 3.1Missing Initialization of Resource in pnet
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.
- Published
- 27 Dec 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-908CWE-909
- Also known as
- GHSA-24g6-5rx7-58wjGHSA-r6ff-2q3c-v3pvRUSTSEC-2019-0037
- Sources
- NVDJSONOSV GHSA-24g6-5rx7-58wjJSONOSV GHSA-r6ff-2q3c-v3pvJSONOSV RUSTSEC-2019-0037JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.0 | CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H |
| OSV | RustSec | CVSS 3.0 | MEDIUM 6.0 | CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pnet_project | pnetcpe:2.3:a:pnet_project:pnet:*:*:*:*:*:rust:*:* |
< 0.27.2 | 0.27.2 |
| OSV | crates.io | pnet | < 0.27.2 | 0.27.2 |
| OSV | crates.io | pnet | >= 0.0.0-0, < 0.27.2 | 0.27.2 |
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/pnet/RUSTSEC-2019-0037.md · Third Party Advisory, WEB
- https://rustsec.org/advisories/RUSTSEC-2019-0037.html · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2019-25054 · ADVISORY
- https://github.com/libpnet/libpnet/issues/449 · WEB, REPORT
- https://github.com/libpnet/libpnet · WEB, PACKAGE
- https://github.com/libpnet/libpnet/pull/455 · WEB
- https://crates.io/crates/pnet · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 Dec 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Jun 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)