VDB
Sign up
MEDIUM5.3

GO-2022-0461

Unbounded memory consumption in github.com/pion/dtls/v2

Quick fix

GO-2022-0461 — github.com/pion/dtls/v2: upgrade to the fixed version with the command below.

go get github.com/pion/dtls/v2@v2.1.4

Details

Attacker can cause unbounded memory consumption.

The Pion DTLS client and server buffer handshake data with no upper limit, permitting an attacker to cause unbounded memory consumption by sending an unterminated handshake.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/pion/dtls/v2
Introduced in: 0Fixed in: 2.1.4
Fixgo get github.com/pion/dtls/v2@v2.1.4

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/github.com/pion/dtls/v2"]}'