CVE-2020-35857
HIGH 7.5CVSS 3.1Stack consumption in trust-dns-server
An issue was discovered in the trust-dns-server crate before 0.18.1 for Rust. DNS MX and SRV null targets are mishandled, causing stack consumption.
- Published
- 31 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-4cww-f7w5-x525RUSTSEC-2020-0001
- Sources
- NVDJSONOSV GHSA-4cww-f7w5-x525JSONOSV RUSTSEC-2020-0001JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/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-server_project | trust-dns-servercpe:2.3:a:trust-dns-server_project:trust-dns-server:*:*:*:*:*:rust:*:* |
>= 0.16.0, < 0.18.1 | 0.18.1 |
| OSV | crates.io | trust-dns-server | >= 0.16.0, < 0.18.1 | 0.18.1 |
References
- https://github.com/bluejekyll/trust-dns/commit/8b9eab05795fdc098976262853b2498055c7a8f3 · WEB
- https://rustsec.org/advisories/RUSTSEC-2020-0001.html · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-35857 · ADVISORY
- https://github.com/bluejekyll/trust-dns/issues/980 · WEB, REPORT
- https://github.com/bluejekyll/trust-dns/pull/982 · WEB
- https://github.com/bluejekyll/trust-dns · PACKAGE
- https://crates.io/crates/trust-dns-server · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)