Medium, CVSS 6.0crates.ioPublished
pnet_packet buffer overrun in set_payload setters
GHSA-cf4g-fcf8-3cr9
- Affected
- crates.io pnet_packet < 0.27.2
- Fixed in
- 0.27.2· Vendor fix available
- Issue
- As indicated by this issue, a buffer overrun is possible in the setpayload setter of the various mutable "Packet" struct setters. The offending setpayload 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.
Recommended action: Upgrade to 0.27.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.