CVE-2020-36562: Uncontrolled Resource Consumption in github.com/shiyanhui/dht

github.com/shiyanhui/dht Updated 02 Oct 2025

Summary

14/04/2021
No i
High
7.5

CVE-2020-36562: Uncontrolled Resource Consumption in github.com/shiyanhui/dht. Affected versions are not published. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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 →

Share this vulnerability

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).

References

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