GitHub Advisory Database
GHSA-h9q6-hc68-35rp
Denial of service in github.com/shamaton/msgpack
Details
The msgpack decoder fails to properly validate the input buffer length when processing truncated fixext data (format codes 0xd4-0xd8). This can lead to an out-of-bounds read and a runtime panic, allowing a denial of service attack.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/shamaton/msgpack/v2 | All versions up to and including 2.4.0 |
| Go | github.com/shamaton/msgpack/v3 | All versions up to and including 3.1.0 |