CVE-2020-35857 json
Stack consumption in trust-dns-server
published 2020-01-06 6 y ago modified 2026-06-17 4 mo ago also GHSA-4cww-f7w5-x525 , RUSTSEC-2020-0001 , EUVD-2021-1559
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io trust-dns-server 0.18.1
- trust-dns-server_project trust-dns-server 0.18.1
- github.com/bluejekyll/trust-dns@8b9eab0 commit
- github.com/bluejekyll/trust-dns#982 pull request
Exploit prediction
1.46% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2020-0001.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | trust-dns-server | >=0.16.0, <0.18.1 |
0.18.1 |
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/bluejekyll/trust-dns/commit/8b9eab05795fdc098976262853b2498055c7a8f3
web
-
github.com
/bluejekyll/trust-dns/pull/982
web
-
rustsec.org
/advisories/RUSTSEC-2020-0001.html
web, exploit, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-35857
advisory
-
github.com
/bluejekyll/trust-dns/issues/980
web, report
-
github.com
/bluejekyll/trust-dns
package
-
crates.io
/crates/trust-dns-server
package
Sources
- CVE List CVE-2020-35857
- GitHub Advisory GHSA-4cww-f7w5-x525
- NVD CVE-2020-35857
- OSV RUSTSEC-2020-0001
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.