GitHub Advisoryadvisory · Go
GHSA-cx94-mrg9-rq4j Pion/DTLS contains buffer for inbound DTLS fragments with no limit
MEDIUM
Official page ↗
- Aliases
- CVE-2022-29189
- Ecosystem
- Go
- Packages
- github.com/pion/dtls, github.com/pion/dtls/v2
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-120
- Reviewed
- 2022-05-24
Affected packages
• Go github.com/pion/dtls: < 2.1.4 → fixed in 2.1.4
• Go github.com/pion/dtls/v2: < 2.1.4 → fixed in 2.1.4
Description
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:
• Open an issue in Pion DTLS
• Email us at [email protected]
Related
Alias · CVE (1)
- CVE-2022-29189 Pion DTLS is a Go implementation of Datagram Transport Layer Security. vulnerability
Weakness · CWE (1)
- CWE-120 Buffer Copy without Checking Size of Input weakness
References
- https://github.com/pion/dtls/security/advisories/GHSA-cx94-mrg9-rq4j web
- https://nvd.nist.gov/vuln/detail/CVE-2022-29189 advisory
- https://github.com/pion/dtls/commit/a6397ff7282bc56dc37a68ea9211702edb4de1de web
- https://github.com/pion/dtls/releases/tag/v2.1.4 web
- https://pkg.go.dev/vuln/GO-2022-0461 web
- github.com/pion/dtls package