pion/stun is a Go implementation of STUN. Prior to 3.1.3, XORMappedAddress.GetFromAs can panic while parsing a malformed short XOR-MAPPED-ADDRESS attribute in STUN or ICE Binding-response parsing paths, allowing remote denial of service. This issue is fixed in version 3.1.3.
https://github.com/pion/stun/security/advisories/GHSA-34rh-wp3j-6cxc
https://github.com/pion/stun/releases/tag/v3.1.3
https://github.com/pion/stun/pull/278
https://github.com/pion/stun/commit/fa9f074a33a8059c76c960b1fbee39f308002423