Read the docs
TI-2023-30744 Aliases GHSA-5fm9-h728-fwpj

trust-dns vulnerable to Remote Attackers causing Denial-of-Service (packet loops) with crafted DNS packets

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

trust-dns and trust-dns-server are vulnerable to remotely triggered denial-of-service attacks, consuming both network and CPU resources. DNS messages with the QR=1 bit set are responded to with a `FormErr` response. This allows creating a traffic loop, in which these `FormErr` responses are sent nonstop between vulnerable servers. There are two scenarios how this can be exploited: 1) Create a loop between two instances of trust-dns, consuming network resources, or 2) consuming the CPU of a single instance. With two instances *A* and *B* an attacker sends a DNS query with a spoofed source IP address to *A*. *A* replies with a `FormErr` to *B*. Now both servers with ping-pong the message back and forth until by chance the packet is dropped in the network. Multiple spoofed packets can be sent by the attacker, increasing resource consumption. A single server can get locked up replying to itself. Same setup as above, but now *A* sends the reply to itself. The packet is sent out as fast as the CPU and network stack manage. This locks up a CPU core. Multiple packets from the attacker consume multiple CPU cores.

Why it matters now

Fix Fixed trust-dns-server (crates.io): 0.22.1, 0.23.0-alpha.3

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—trust-dns-server (crates.io)before 0.22.10.22.1Patch availableGHSA-5fm9-h728-fwpj
—trust-dns-server (crates.io)0.23.0-alpha.2 to before 0.23.0-alpha.30.23.0-alpha.3Patch availableGHSA-5fm9-h728-fwpj
  • trust-dns-server (crates.io) Vendor— Affected before 0.22.1 Fixed in 0.22.1 Patch available GHSA-5fm9-h728-fwpj
  • trust-dns-server (crates.io) Vendor— Affected 0.23.0-alpha.2 to before 0.23.0-alpha.3 Fixed in 0.23.0-alpha.3 Patch available GHSA-5fm9-h728-fwpj

Remediation

  • Fix · GHSA-5fm9-h728-fwpj trust-dns-server (crates.io) Fixed in 0.22.1 Advisory →
  • Fix · GHSA-5fm9-h728-fwpj trust-dns-server (crates.io) Fixed in 0.23.0-alpha.3 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-5fm9-h728-fwpj

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences