CVE-2025-24356 UDP traffic amplification via fastd's fast reconnect feature
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
7 packages: 3 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/fastd(Debian 12) | = 22-4; = 23-1; = 23-2; All versions | No fix listed | No fix yet |
| ubuntu/fastd(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/fastd(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| debian/fastd(Debian 13) | < 23-1 | 23-1 | Fixed |
| debian/fastd(Debian 14) | < 23-1 | 23-1 | Fixed |
| fastd project fastd | < 23.0 | 23.0 | Fixed |
| neocturne fastd | = < 23 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/fastd(Debian:12) | All versions | No fix listed |
| debian/fastd(Debian:12) | = 22-4 | No fix listed |
| debian/fastd(Debian:12) | = 23-1 | No fix listed |
| debian/fastd(Debian:12) | = 23-2 | No fix listed |
| debian/fastd(Debian:13) | < 23-1 | 23-1 |
| debian/fastd(Debian:14) | < 23-1 | 23-1 |
| neocturne fastd | = < 23 | No fix listed |
| ubuntu/fastd(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/fastd(Ubuntu:24.04) | All versions | No fix listed |
| fastd project fastd | < 23.0 | 23.0 |
References
- Debian Security Tracker CVE-2025-24356 vendor-advisory
- https://github.com/neocturne/fastd/security/advisories/GHSA-pggg-vpfv-4rcv mitigation patch vendor-advisory
- https://github.com/neocturne/fastd/commit/1f233bee76b722c0b3f9024f2c39c72e9f7e5843 patch
- https://github.com/neocturne/fastd/commit/3940150e801d0c91460491bec32cbcc5bbc89d5f patch
- https://github.com/neocturne/fastd/commit/5f63fcfc18ae9cad023fa463b152d5e14192b5a8 patch
- https://github.com/neocturne/fastd/commit/9df7e516378441d2d17b89f9db5c27c8312d8f12 patch
- https://github.com/neocturne/fastd/commit/c1a07b3f2b9066c3713c68547da700b85d60f4f7 patch
- https://github.com/neocturne/fastd/commit/ce1b79b12dbfa796743b5f3a50789ade965b7023 patch
- https://github.com/neocturne/fastd/commit/d03a0a17347efb5293e42fde7d982781e90f14ef patch
- Ubuntu CVE tracker vendor-advisory
- www.cve.org