github.com/pion/dtls
Affected
- introduced
0, fixed2.1.4(semver)
Fixed versions
2.1.4
Fix
- Fixed version
2.1.4go get github.com/pion/[email protected]
Advisory
Also known as: CVE-2022-29189, GO-2022-0461
Pion/DTLS contains buffer for inbound DTLS fragments with no limit
Impact
A buffer that was used for inbound network traffic had no upper limit. Pion DTLS would buffer all network traffic from the remote user until the handshake completes or times out. An attacker could exploit this to cause excessive memory usage.
Patches
Upgrade to Pion DTLS v2.1.4
Workarounds
No workarounds available, upgrade to Pion DTLS v2.1.4
References
Thank you to Juho Nurminen and the Mattermost team for discovering and reporting this.
For more information
If you have any questions or comments about this advisory:
Medium Basis: The source's own band: MODERATE
0, fixed 2.1.4 (semver)2.1.4
2.1.4go get github.com/pion/[email protected]0, fixed 2.1.4 (semver)2.1.4
2.1.4go get github.com/pion/dtls/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0