{"id":"CVE-2018-20994","aliases":["RUSTSEC-2018-0007"],"url":"https://o3.security/vulnerability/CVE-2018-20994","summary":"Uncontrolled recursion in trust-dns-proto","details":"There's a stack overflow leading to a crash when Trust-DNS's parses a malicious DNS packet. Affected versions of this crate did not properly handle parsing of DNS message compression (RFC1035 section 4.1.4). The parser could be tricked into infinite loop when a compression offset pointed back to the same domain name to be parsed. This allows an attacker to craft a malicious DNS packet which when consumed with Trust-DNS could cause stack overflow and crash the affected software.","published":"2021-08-25T20:43:16Z","modified":"2023-11-08T04:00:13.553878Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.01375,"percentile":0.69541,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"trust-dns-proto","fixedVersion":"0.4.3"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20994"},{"type":"PACKAGE","url":"https://github.com/bluejekyll/trust-dns"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2018-0007.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:00:13.553878Z"}}