GitHub Advisory Database
GHSA-34rh-wp3j-6cxc
Pion STUN vulnerable to remote denial of service via panic while parsing a malformed XOR-MAPPED-ADDRESS attribute
Details
Impact
Remote denial of service via panic while parsing a malformed XOR-MAPPED-ADDRESS attribute
Patches
Upgrade to v3.1.5 or later. This version includes this patch https://github.com/pion/stun/pull/278 which fixes the issue.
Workarounds
No work around; please upgrade to v3.1.5 or a newer version.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/pion/stun/v3 | All versions before 3.1.5 (fixed in 3.1.5) |
| Go | github.com/pion/stun/v2 | All versions up to and including 2.0.0 |
| Go | github.com/pion/stun | All versions up to and including 1.23.1 |