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

github.com/pion/dtls Updated 02 Oct 2025

Summary

07/02/2023
MODERATE
No i
Moderate
5.9

GHSA-4xgv-j62q-h3rj: Panic during unmarshal of Hello Verify Request in github.com/pion/dtls/v2. Affects github.com/pion/dtls versions < 1.5.4. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package github.com/pion/dtls/v2 is a Go library that provides support for Datagram Transport Layer Security (DTLS) protocol. DTLS is a variant of the Transport Layer Security (TLS) protocol that is designed to secure datagram-based applications. The pion/dtls/v2 package allows developers to implement DTLS functionality in their Go applications.

Vulnerability Detail

The vulnerability identified as GHSA-4xgv-j62q-h3rj in the github.com/pion/dtls/v2 package involves a panic during the unmarshalling of a hello verify request. This occurs when the unmarshalling process attempts to use a buffer that is too small, resulting in a crash of the program. This vulnerability can be exploited to cause a denial of service (DoS) attack. The severity of this vulnerability is rated as MODERATE with a CVSS score of 5.9.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is advised to upgrade to the fixed version.

Conclusion

In conclusion, the github.com/pion/dtls/v2 package is vulnerable to a panic during unmarshalling of a hello verify request. This vulnerability can be exploited to cause a denial of service attack. It is recommended to upgrade to version 2.2.4 to fix this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for github.com/pion/dtls →

Share this vulnerability

FAQ

The vulnerability can be exploited to cause a denial of service (DoS) attack by crashing the program.

DTLS stands for Datagram Transport Layer Security and is a variant of the TLS protocol designed for securing datagram-based applications.

The severity of this vulnerability is rated as MODERATE with a CVSS score of 5.9.

There is no known workaround for this vulnerability. It is advised to upgrade to the fixed version.

To upgrade to the fixed version (2.2.4), you can update the package using the Go package manager or by manually downloading and installing the updated version.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/pion/dtls.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback