GHSA-34rh-wp3j-6cxc

Suggest an improvement
Source
https://github.com/advisories/GHSA-34rh-wp3j-6cxc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-34rh-wp3j-6cxc/GHSA-34rh-wp3j-6cxc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-34rh-wp3j-6cxc
Aliases
Downstream
Published
2026-07-31T22:03:42Z
Modified
2026-07-31T22:15:22.429003677Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
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.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2026-07-31T22:03:42Z",
    "cwe_ids": [
        "CWE-20"
    ],
    "github_reviewed": true,
    "severity": "MODERATE"
}
References

Affected packages

Go / github.com/pion/stun/v3

Package

Name
github.com/pion/stun/v3
View open source insights on deps.dev
Purl
pkg:golang/github.com/pion/stun/v3

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.5

Database specific

last_known_affected_version_range
"<= 3.1.4"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-34rh-wp3j-6cxc/GHSA-34rh-wp3j-6cxc.json"

Go / github.com/pion/stun/v2

Package

Name
github.com/pion/stun/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/pion/stun/v2

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-34rh-wp3j-6cxc/GHSA-34rh-wp3j-6cxc.json"

Go / github.com/pion/stun

Package

Name
github.com/pion/stun
View open source insights on deps.dev
Purl
pkg:golang/github.com/pion/stun

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.23.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-34rh-wp3j-6cxc/GHSA-34rh-wp3j-6cxc.json"