Advisory

GHSA-hxp2-xqf3-v83h

Also known as: GO-2023-1535

Summary

Panic during unmarshal of Hello Verify Request in github.com/pion/dtls/v2

Details

Impact

When attempting to unmarshal a Server Hello request we could attempt to unmarshal into a buffer that was too small. This could result in a panic leading the program to crash.

This issue could be abused to cause a denial of service.

Workaround

None

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-02-07 18:24 UTC
Modified
2023-11-08 04:20 UTC

Affected packages and fixes

github.com/pion/dtls

Go · All systems

Affected

  • introduced 0, last affected 1.5.4 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/pion/dtls/v2

Go · All systems

Affected

  • introduced 0, fixed 2.2.4 (semver)

Fixed versions

2.2.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