CVE-2020-36562: Uncontrolled Resource Consumption in github.com/shiyanhui/dht
Summary
CVE-2020-36562: Uncontrolled Resource Consumption in github.com/shiyanhui/dht. Affected versions are not published. 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/shiyanhui/dht is a Go library that provides a Distributed Hash Table (DHT) implementation. DHT is a decentralized distributed system that allows nodes to store and retrieve key-value pairs. The github.com/shiyanhui/dht package enables developers to build DHT-based applications. However, this package is vulnerable to an uncontrolled resource consumption issue.
Vulnerability Detail
The vulnerability (CVE-2020-36562) in github.com/shiyanhui/dht is caused by unchecked type assertions. Maliciously crafted messages can trigger panics, leading to a denial of service (DoS) attack. An attacker can exploit this vulnerability to consume excessive resources, causing the application to crash or become unresponsive. This vulnerability can have serious consequences, including service disruption and potential data loss.
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 recommended to apply the fix provided by the package maintainers.
Conclusion
The vulnerability (CVE-2020-36562) in the github.com/shiyanhui/dht package can be exploited to launch a denial of service (DoS) attack. It is crucial for developers to update their applications to use the patched version of the package and ensure their dependencies are up to date. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for github.com/shiyanhui/dht →
FAQ
This vulnerability can be exploited by an attacker to launch a denial of service (DoS) attack, causing the application to crash or become unresponsive.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply provide your Gopkg.lock file to the playground, and it will analyze your dependencies and alert you if any vulnerabilities, including this one, are found.
Yes, the maintainers of the github.com/shiyanhui/dht package have released a fix for this vulnerability. Developers should update their dependencies to the latest version that includes the fix.
There are no known workarounds for this vulnerability. It is recommended to apply the fix provided by the package maintainers.
You can find more information about this vulnerability in the CVE-2020-36562 entry on the VulnDB website (https://vuln.vulert.com/CVE-2020-36562).