Skip to content

CVE-2025-5994 Cache poisoning via the ECS-enabled Rebirthday Attack

HighCVSS 8.7 EPSS 0.33%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

Description

A multi-vendor cache poisoning vulnerability named 'Rebirthday Attack' has been discovered in caching resolvers that support EDNS Client Subnet (ECS). Unbound is also vulnerable when compiled with ECS support, i.e., '--enable-subnet', AND configured to send ECS information along with queries to upstream name servers, i.e., at least one of the 'send-client-subnet', 'client-subnet-zone' or 'client-subnet-always-forward' options is used. Resolvers supporting ECS need to segregate outgoing queries to accommodate for different outgoing ECS information. This re-opens up resolvers to a birthday paradox attack (Rebirthday Attack) that tries to match the DNS transaction ID in order to cache non-ECS poisonous replies.

Upgrade path

14 packages: 12 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
azure linux unbound(Azure Linux 3.0) All versions No fix listed No fix yet
cbl-mariner unbound(CBL-Mariner 2.0) All versions No fix listed No fix yet
alpine/unbound(Alpine v3.19) < 1.20.0-r2 1.20.0-r2 Fixed
alpine/unbound(Alpine v3.20) < 1.20.0-r2 1.20.0-r2 Fixed
alpine/unbound(Alpine v3.21) < 1.22.0-r1 1.22.0-r1 Fixed
alpine/unbound(Alpine v3.22) < 1.23.1-r0 1.23.1-r0 Fixed
alpine/unbound(Alpine v3.23) < 1.23.1-r0 1.23.1-r0 Fixed
alpine/unbound(Alpine v3.24) < 1.23.1-r0 1.23.1-r0 Fixed
debian/unbound(Debian 12) < 1.17.1-2+deb12u3; = 1.17.1-2; = 1.17.1-2+deb12u1; = 1.17.1-2+deb12u2 1.17.1-2+deb12u3 Fixed
debian/unbound(Debian 13) < 1.22.0-2 1.22.0-2 Fixed
debian/unbound(Debian 14) < 1.22.0-2 1.22.0-2 Fixed
NLnet Labs Unbound >= 1.6.2, < 1.23.0 1.23.0 Fixed
ubuntu/unbound(Ubuntu 22.04) < 1.13.1-1ubuntu5.11 1.13.1-1ubuntu5.11 Fixed
ubuntu/unbound(Ubuntu 24.04) < 1.19.2-1ubuntu3.5 1.19.2-1ubuntu3.5 Fixed

Affected products

ProductAffected versionsFixed in
cbl-mariner unbound(CBL-Mariner:2.0) All versions No fix listed
azure linux unbound(Azure Linux:3.0) All versions No fix listed
debian/unbound(Debian:12) < 1.17.1-2+deb12u3 1.17.1-2+deb12u3
debian/unbound(Debian:12) = 1.17.1-2 No fix listed
debian/unbound(Debian:12) = 1.17.1-2+deb12u1 No fix listed
debian/unbound(Debian:12) = 1.17.1-2+deb12u2 No fix listed
debian/unbound(Debian:13) < 1.22.0-2 1.22.0-2
debian/unbound(Debian:14) < 1.22.0-2 1.22.0-2
NLnet Labs Unbound >= 1.6.2, < 1.23.0 1.23.0
ubuntu/unbound(Ubuntu:22.04) < 1.13.1-1ubuntu5.11 1.13.1-1ubuntu5.11
alpine/unbound(Alpine:v3.19) < 1.20.0-r2 1.20.0-r2
alpine/unbound(Alpine:v3.20) < 1.20.0-r2 1.20.0-r2
alpine/unbound(Alpine:v3.21) < 1.22.0-r1 1.22.0-r1
alpine/unbound(Alpine:v3.22) < 1.23.1-r0 1.23.1-r0
alpine/unbound(Alpine:v3.23) < 1.23.1-r0 1.23.1-r0
alpine/unbound(Alpine:v3.24) < 1.23.1-r0 1.23.1-r0
ubuntu/unbound(Ubuntu:24.04) < 1.19.2-1ubuntu3.5 1.19.2-1ubuntu3.5

References