logo

CVE-2018-20994 trust-dns-proto

Package

Manager: cargo
Name: trust-dns-proto
Vulnerable Version: >=0 <0.4.3

Severity

Level: High

CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00334 pctl0.55653

Details

Uncontrolled recursion in trust-dns-proto 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.

Metadata

Created: 2021-08-25T20:43:16Z
Modified: 2023-06-13T22:25:06Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-369h-pjr2-6wrh/GHSA-369h-pjr2-6wrh.json
CWE IDs: ["CWE-674"]
Alternative ID: GHSA-369h-pjr2-6wrh
Finding: F067
Auto approve: 1