CVE-2020-36562 Uncontrolled Resource Consumption in github.com/shiyanhui/dht
Attackers can cause application panics and denial of service by sending maliciously crafted messages to the DHT library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-36562?
CVE-2020-36562 is a high-severity denial of service vulnerability in github.com/shiyanhui/dht, published on 27 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Due to unchecked type assertions, maliciously crafted messages can cause panics, which may be used as a denial of service vector.
Weakness: CWE-617
Which versions are affected by CVE-2020-36562?
3 open source packages ship an affected version, including github.com/shiyanhui/dht. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/shiyanhui/dht Go | All versions | None |
github.com/shiyanhui/dht Go | All versions to 0.0.0-20201219151056-5a20f3199263 | None |
github.com/shiyanhui/dht Go | All versions to 0.0.0-20201219151056-5a20f3199263 | None |
Products include Dht Project Dht.
How do I fix CVE-2020-36562?
No fix has been published for CVE-2020-36562 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2020-36562 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-36562 exists.
Sources
Also known as GHSA-p6fg-723f-hgpw, GO-2020-0040.