Advisory

GHSA-4cww-f7w5-x525

Also known as: CVE-2020-35857, RUSTSEC-2020-0001

Summary

Stack consumption in trust-dns-server

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 20:46 UTC
Modified
2023-12-08 19:31 UTC

Affected packages and fixes

trust-dns-server

crates.io · All systems

Affected

  • introduced 0.16.0, fixed 0.18.1 (semver)

Fixed versions

0.18.1

Fix

  • Fixed version 0.18.1
    cargo update -p trust-dns-server --precise 0.18.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences