Security mailing lists by PureSourceCode

GHSA-cf4g-fcf8-3cr9

MEDIUM 6.0CVSS 3.0

`pnet_packet` buffer overrun in `set_payload` setters

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.

Published
19 Jun 2020
Last modified
8 Nov 2023
Also known as
RUSTSEC-2020-0167
Sources
OSVJSONOSV RUSTSEC-2020-0167JSON

Scores

SourceScored byVersionScoreVector / decision
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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io pnet_packet < 0.27.2 0.27.2
OSV crates.io pnet_packet >= 0.0.0-0, < 0.27.2 0.27.2

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Jun 2020)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Feb 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.