CVE-2018-20994 Uncontrolled recursion in trust-dns-proto
Attackers can cause a denial of service via infinite recursion in the trust-dns-proto crate due to mishandled DNS message compression.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-20994?
CVE-2018-20994 is a high-severity denial of service vulnerability in n/a, published on 26 Aug 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in the trust-dns-proto crate before 0.5.0-alpha.3 for Rust. There is infinite recursion because DNS message compression is mishandled.
Weakness: CWE-674
Which versions are affected by CVE-2018-20994?
3 open source packages ship an affected version, including trust-dns-proto. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
trust-dns-proto crates.io | All versions | 0.4.3 |
trust-dns-proto crates.io | All versions | 0.4.3 |
trust-dns-proto crates.io | From 0.0.0-0 | 0.4.3 |
Products include Trust-Dns-Proto Project Trust-Dns-Proto.
How do I fix CVE-2018-20994?
Upgrade trust-dns-proto to 0.4.3 or later.
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-2018-20994 being exploited?
There is no known exploitation of CVE-2018-20994 in the wild and no public exploit code.
Sources
Also known as GHSA-369h-pjr2-6wrh, RUSTSEC-2018-0007.