Panic during unmarshal of Hello Verify Request in github.com/pion/dtls/v2
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.
References
Related vulnerabilities
Recent vulnerabilities recorded for github.com/pion/dtls.