{"id":"GHSA-cf4g-fcf8-3cr9","aliases":["RUSTSEC-2020-0167"],"url":"https://o3.security/vulnerability/GHSA-cf4g-fcf8-3cr9","summary":"`pnet_packet` buffer overrun in `set_payload` setters","details":"As indicated by this [issue](https://github.com/libpnet/libpnet/issues/449#issuecomment-663355987), 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.\n\nFixed in the `packet` macro by [this](https://github.com/libpnet/libpnet/pull/455) PR.\n","published":"2023-02-09T19:27:57Z","modified":"2023-11-08T04:18:24.874397Z","cvss":{"score":6,"severity":"MEDIUM","vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"pnet_packet","fixedVersion":"0.27.2"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/libpnet/libpnet/issues/449"},{"type":"PACKAGE","url":"https://github.com/libpnet/libpnet"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2020-0167.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:18:24.874397Z"}}