GitHub Advisoryadvisory · crates.io

GHSA-4cww-f7w5-x525 Stack consumption in trust-dns-server

HIGH Published 2021-08-25 Modified 2023-12-08 Official page ↗
Aliases
CVE-2020-35857
Ecosystem
crates.io
Packages
trust-dns-server
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-400
Reviewed
2021-08-19

Affected packages

• crates.io trust-dns-server: >= 0.16.0, < 0.18.1 → fixed in 0.18.1

Description

There's a stack overflow leading to a crash and potential DOS when processing additional records for return of MX or SRV record types from the server. This is only possible when a zone is configured with a null target for MX or SRV records. Prior to 0.16.0 the additional record processing was not supported by trust-dns-server. There Are no known issues with upgrading from 0.16 or 0.17 to 0.18.1. The remidy should be to upgrade to 0.18.1. If unable to do so, MX, SRV or other record types with a target to the null type, should be avoided.

Related

Alias · CVE (1)

  • CVE-2020-35857 An issue was discovered in the trust-dns-server crate before 0.18.1 for Rust. vulnerability

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References