The Patching Friars' AlmanacA calendar of CVE saints

Patron of October 15

SAD DNSHoly card for sad-dns, generated with AI (Claude, Anthropic) for the Lunario dei Frati Patchatori.CC BY-NC-SA 4.0 DNS ? SAD DNS PORTA DIVINATUR
🤖 Image and text generated with AI

⬇ Download holy card: ·

Embed on your site

Saint SAD DNS, Who Poisoned the Cache With Noise

Patron of DNS resolvers, UDP ports that let themselves be guessed, and everyone who thought cache poisoning was buried.

Life

In 2020 researchers from the University of California, Riverside, and Tsinghua University brought DNS cache poisoning back to life with SAD DNS. A side channel in the Linux kernel's ICMP rate limiting let an off-path attacker quickly guess the source UDP port, defeating its randomisation, and inject forged answers into the resolver. It hit BIND, Unbound and dnsmasq, and the flaw kept returning in variants over the following years.

Prayer

O Saint SAD DNS, who listens to the kernel's noise to guess the port, let our resolvers not be read in secret. Amen.

How to celebrate

Celebrated by updating the Linux kernel and the resolvers, and preferring DNS over TLS or HTTPS where possible.

Let the port be guessed and you let the stranger in.

Technical record

Disclosed on
October 15 2020
CVE
CVE-2020-25705CVE-2024-47678CVE-2021-20322
CVSS
9.4
Product
Linux · Siemens Lunux Based Products

A flaw in ICMP packets in the Linux kernel may allow an attacker to quickly scan open UDP ports. This flaw allows an off-path remote attacker to effectively bypass source port UDP randomization. Software that relies on UDP source port randomization are indirectly affected as well on the Linux Based Products (RUGGEDCOM RM1224: All versions between v5.0 and v6.4, SCALANCE M-800: All versions between v5.0 and v6.4, SCALANCE S615: All versions between v5.0 and v6.4, SCALANCE SC-600: All versions prior to v2.1.3, SCALANCE W1750D: v8.3.0.1, v8.6.0, and v8.7.0, SIMATIC Cloud Connect 7: All versions, SIMATIC MV500 Family: All versions, SIMATIC NET CP 1243-1 (incl. SIPLUS variants): Versions 3.1.39 and later, SIMATIC NET CP 1243-7 LTE EU: Version

Sources: saddns.net

📅 Add to your calendar

SaintsGoogle CalendarApple, Outlook (.ics)

Observances (feasts, scourges and miracles)Google CalendarApple, Outlook (.ics)

In Google Calendar you can also paste the URL in Settings → Add calendar → From URL. The first sync can take a few hours.