trust-dns-server
Affected
- introduced
0.16.0, fixed0.18.1(semver)
Fixed versions
0.18.1
Fix
- Fixed version
0.18.1cargo update -p trust-dns-server --precise 0.18.1
Advisory
Also known as: CVE-2020-35857, GHSA-4cww-f7w5-x525
Stack overflow when resolving additional records from MX or SRV null targets
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, i.e. '.'.
Example effected zone record:
no-service 86400 IN MX 0 .
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.
High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
0.16.0, fixed 0.18.1 (semver)0.18.1
0.18.1cargo update -p trust-dns-server --precise 0.18.1Fix 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
Source: RustSec Advisory Database · CC0-1.0