This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate pnet

Dependencies

(6 total, 6 outdated, 1 insecure)

CrateRequiredLatestStatus
 ipnetwork^0.15.00.21.1out of date
 pnet_base^0.22.00.35.0out of date
 pnet_datalink^0.23.10.35.0out of date
 pnet_packet ⚠️^0.23.10.35.0insecure
 pnet_sys^0.23.10.35.0out of date
 pnet_transport^0.23.10.35.0out of date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 time>=0.10.3.55up to date

Security Vulnerabilities

pnet_packet: `pnet_packet` buffer overrun in `set_payload` setters

RUSTSEC-2020-0167

As indicated by this issue, a buffer overrun is possible in the set_payload setter of the various mutable "Packet" struct setters. The offending set_payload functions were defined within the struct impl blocks in earlier versions of the package, and later by the packet macro.

Fixed in the packet macro by this PR.