This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate pnet_transport

Dependencies

(4 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 libc^0.2.390.2.153up to date
 pnet_base^0.22.00.34.0out of date
 pnet_packet ⚠️^0.25.00.34.0out of date
 pnet_sys^0.25.00.34.0out of 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.