Advisory

GHSA-cx94-mrg9-rq4j

Also known as: CVE-2022-29189, GO-2022-0461

Summary

Pion/DTLS contains buffer for inbound DTLS fragments with no limit

Details

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:

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 22:04 UTC
Modified
2023-11-08 04:09 UTC

Affected packages and fixes

github.com/pion/dtls

Go · All systems

Affected

  • introduced 0, fixed 2.1.4 (semver)

Fixed versions

2.1.4

Fix

github.com/pion/dtls/v2

Go · All systems

Affected

  • introduced 0, fixed 2.1.4 (semver)

Fixed versions

2.1.4

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences