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-hxp2-xqf3-v83h: 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 provide security for datagram-based applications such as UDP. The package allows developers to implement DTLS functionality in their Go applications.

Vulnerability Detail

The vulnerability identified in the package is related to the unmarshaling of a Server Hello request. During this process, there is a possibility of attempting to unmarshal into a buffer that is too small, leading to a panic and crashing of the program. This vulnerability can be exploited to cause a denial of service (DoS) attack. The vulnerability has a CVSS score of 5.9, indicating a moderate severity.

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 specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in the github.com/pion/dtls/v2 package allows for a panic during the unmarshaling process, leading to a program crash and potential denial of service. To fix this vulnerability, developers should update to version 2.2.4 or above. For further support on vulnerability remediation, 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 is a variant of the TLS protocol designed for datagram-based applications such as UDP.

Unmarshaling is the process of converting serialized data into a structured format, such as converting binary data into Go objects.

A panic is a situation in Go where the program encounters an unexpected error or condition that it cannot recover from, resulting in a crash.

To prevent this vulnerability, ensure that you are using the latest version (2.2.4 or above) of the github.com/pion/dtls/v2 package.

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