Skip to content
OpenAdvisories
Medium · 6.9 CVE-2025-24356 EUVD-2025-3677

UDP traffic amplification via fastd's fast reconnect feature

Published Jan 27, 2025 · Updated Jan 28, 2025 · Assigned by GitHub_M

Description

fastd is a VPN daemon which tunnels IP packets and Ethernet frames over UDP. When receiving a data packet from an unknown IP address/port combination, fastd will assume that one of its connected peers has moved to a new address and initiate a reconnect by sending a handshake packet. This "fast reconnect" avoids having to wait for a session timeout (up to ~90s) until a new connection is established. Even a 1-byte UDP packet just containing the fastd packet type header can trigger a much larger handshake packet (~150 bytes of UDP payload). Including IPv4 and UDP headers, the resulting amplification factor is roughly 12-13. By sending data packets with a spoofed source address to fastd instances reachable on the internet, this amplification of UDP traffic might be used to facilitate a Distributed Denial of Service attack. This vulnerability is fixed in v23.

Affected products

VendorProductAffectedFixed
neocturne fastd < 23 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 fastd 23-1 —
Debian 13 fastd 23-1 —
Debian 12 fastd No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS fastd No fix yet —
Ubuntu 22.04 LTS fastd No fix yet —
Ubuntu 20.04 LTS fastd No fix yet —
Ubuntu 18.04 LTS fastd No fix yet —
Ubuntu 16.04 LTS fastd No fix yet —

References