CVE-2018-20994
HIGH 7.5CVSS 3.0Uncontrolled recursion in trust-dns-proto
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.
- Published
- 26 Aug 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-674
- Also known as
- GHSA-369h-pjr2-6wrhRUSTSEC-2018-0007
- Sources
- NVDJSONOSV GHSA-369h-pjr2-6wrhJSONOSV RUSTSEC-2018-0007JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | trust-dns-proto_project | trust-dns-protocpe:2.3:a:trust-dns-proto_project:trust-dns-proto:*:*:*:*:*:*:*:* |
< 0.4.3 | 0.4.3 |
| NVD | trust-dns-proto_project | trust-dns-protocpe:2.3:a:trust-dns-proto_project:trust-dns-proto:0.5.0:alpha.1:*:*:*:*:*:* |
= 0.5.0 | |
| NVD | trust-dns-proto_project | trust-dns-protocpe:2.3:a:trust-dns-proto_project:trust-dns-proto:0.5.0:alpha.2:*:*:*:*:*:* |
= 0.5.0 | |
| OSV | crates.io | trust-dns-proto | < 0.4.3 | 0.4.3 |
| OSV | crates.io | trust-dns-proto | >= 0.0.0-0, < 0.4.3 | 0.4.3 |
References
- https://rustsec.org/advisories/RUSTSEC-2018-0007.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2018-20994 · ADVISORY
- https://github.com/bluejekyll/trust-dns · PACKAGE
- https://crates.io/crates/trust-dns-proto · PACKAGE
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 26 Aug 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Oct 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)