{"id":"ALPINE-CVE-2024-8508","details":"NLnet Labs Unbound up to and including version 1.21.0 contains a vulnerability when handling replies with very large RRsets that it needs to perform name compression for. Malicious upstreams responses with very large RRsets can cause Unbound to spend a considerable time applying name compression to downstream replies. This can lead to degraded performance and eventually denial of service in well orchestrated attacks. The vulnerability can be exploited by a malicious actor querying Unbound for the specially crafted contents of a malicious zone with very large RRsets. Before Unbound replies to the query it will try to apply name compression which was an unbounded operation that could lock the CPU until the whole packet was complete. Unbound version 1.21.1 introduces a hard limit on the number of name compression calculations it is willing to do per packet. Packets that need more compression will result in semi-compressed packets or truncated packets, even on TCP for huge messages, to avoid locking the CPU for long. This change should not affect normal DNS traffic.","modified":"2026-03-09T01:27:37.282469Z","published":"2024-10-03T17:15:15.323Z","upstream":["CVE-2024-8508"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2024-8508"}],"affected":[{"package":{"name":"unbound","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/unbound?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.0-r1"}]}],"versions":["1.10.0-r0","1.10.1-r0","1.10.1-r1","1.11.0-r0","1.12.0-r0","1.13.0-r0","1.13.0-r1","1.13.0-r2","1.13.0-r3","1.13.1-r0","1.13.1-r1","1.13.1-r2","1.13.2-r0","1.13.2-r1","1.13.2-r2","1.14.0-r0","1.14.0-r1","1.15.0-r0","1.16.0-r0","1.16.0-r1","1.16.1-r0","1.16.2-r0","1.16.2-r1","1.16.3-r0","1.17.0-r0","1.17.1-r0","1.19.1-r0","1.19.2-r0","1.19.3-r0","1.20.0-r0","1.4.10-r0","1.4.10-r1","1.4.10-r2","1.4.10-r3","1.4.13-r0","1.4.13-r1","1.4.13-r2","1.4.13-r3","1.4.14-r0","1.4.15-r0","1.4.16-r0","1.4.17-r0","1.4.18-r0","1.4.19-r0","1.4.19-r1","1.4.19-r2","1.4.20-r0","1.4.20-r1","1.4.20-r2","1.4.21-r0","1.4.21-r1","1.4.21-r2","1.4.22-r0","1.4.22-r1","1.5.1-r0","1.5.10-r0","1.5.10-r1","1.5.10-r2","1.5.2-r0","1.5.2-r1","1.5.3-r0","1.5.4-r0","1.5.6-r0","1.5.6-r1","1.5.6-r2","1.5.6-r3","1.5.6-r4","1.5.7-r0","1.5.7-r1","1.5.8-r0","1.5.8-r1","1.5.9-r0","1.5.9-r1","1.6.0-r0","1.6.0-r1","1.6.1-r0","1.6.1-r1","1.6.2-r0","1.6.3-r0","1.6.4-r0","1.6.5-r0","1.6.6-r0","1.6.7-r0","1.6.7-r1","1.6.7-r2","1.6.8-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.7.1-r0","1.7.3-r0","1.8.0-r0","1.8.1-r0","1.8.1-r1","1.8.3-r0","1.9.0-r0","1.9.1-r0","1.9.1-r1","1.9.1-r2","1.9.2-r0","1.9.2-r1","1.9.3-r0","1.9.4-r0","1.9.4-r1","1.9.5-r0","1.9.5-r1","1.9.5-r2","1.9.5-r3","1.9.6-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-8508.json"}},{"package":{"name":"unbound","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/unbound?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.0-r1"}]}],"versions":["1.10.0-r0","1.10.1-r0","1.10.1-r1","1.11.0-r0","1.12.0-r0","1.13.0-r0","1.13.0-r1","1.13.0-r2","1.13.0-r3","1.13.1-r0","1.13.1-r1","1.13.1-r2","1.13.2-r0","1.13.2-r1","1.13.2-r2","1.14.0-r0","1.14.0-r1","1.15.0-r0","1.16.0-r0","1.16.0-r1","1.16.1-r0","1.16.2-r0","1.16.2-r1","1.16.3-r0","1.17.0-r0","1.17.0-r1","1.17.1-r0","1.17.1-r1","1.19.1-r0","1.19.2-r0","1.19.3-r0","1.20.0-r0","1.4.10-r0","1.4.10-r1","1.4.10-r2","1.4.10-r3","1.4.13-r0","1.4.13-r1","1.4.13-r2","1.4.13-r3","1.4.14-r0","1.4.15-r0","1.4.16-r0","1.4.17-r0","1.4.18-r0","1.4.19-r0","1.4.19-r1","1.4.19-r2","1.4.20-r0","1.4.20-r1","1.4.20-r2","1.4.21-r0","1.4.21-r1","1.4.21-r2","1.4.22-r0","1.4.22-r1","1.5.1-r0","1.5.10-r0","1.5.10-r1","1.5.10-r2","1.5.2-r0","1.5.2-r1","1.5.3-r0","1.5.4-r0","1.5.6-r0","1.5.6-r1","1.5.6-r2","1.5.6-r3","1.5.6-r4","1.5.7-r0","1.5.7-r1","1.5.8-r0","1.5.8-r1","1.5.9-r0","1.5.9-r1","1.6.0-r0","1.6.0-r1","1.6.1-r0","1.6.1-r1","1.6.2-r0","1.6.3-r0","1.6.4-r0","1.6.5-r0","1.6.6-r0","1.6.7-r0","1.6.7-r1","1.6.7-r2","1.6.8-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.7.1-r0","1.7.3-r0","1.8.0-r0","1.8.1-r0","1.8.1-r1","1.8.3-r0","1.9.0-r0","1.9.1-r0","1.9.1-r1","1.9.1-r2","1.9.2-r0","1.9.2-r1","1.9.3-r0","1.9.4-r0","1.9.4-r1","1.9.5-r0","1.9.5-r1","1.9.5-r2","1.9.5-r3","1.9.6-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-8508.json"}},{"package":{"name":"unbound","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/unbound?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.0-r1"}]}],"versions":["1.10.0-r0","1.10.1-r0","1.10.1-r1","1.11.0-r0","1.12.0-r0","1.13.0-r0","1.13.0-r1","1.13.0-r2","1.13.0-r3","1.13.1-r0","1.13.1-r1","1.13.1-r2","1.13.2-r0","1.13.2-r1","1.13.2-r2","1.14.0-r0","1.14.0-r1","1.15.0-r0","1.16.0-r0","1.16.0-r1","1.16.1-r0","1.16.2-r0","1.16.2-r1","1.16.3-r0","1.17.0-r0","1.17.0-r1","1.17.1-r0","1.17.1-r1","1.17.1-r2","1.17.1-r3","1.17.1-r4","1.18.0-r0","1.19.0-r0","1.19.1-r0","1.19.2-r0","1.19.3-r0","1.20.0-r0","1.4.10-r0","1.4.10-r1","1.4.10-r2","1.4.10-r3","1.4.13-r0","1.4.13-r1","1.4.13-r2","1.4.13-r3","1.4.14-r0","1.4.15-r0","1.4.16-r0","1.4.17-r0","1.4.18-r0","1.4.19-r0","1.4.19-r1","1.4.19-r2","1.4.20-r0","1.4.20-r1","1.4.20-r2","1.4.21-r0","1.4.21-r1","1.4.21-r2","1.4.22-r0","1.4.22-r1","1.5.1-r0","1.5.10-r0","1.5.10-r1","1.5.10-r2","1.5.2-r0","1.5.2-r1","1.5.3-r0","1.5.4-r0","1.5.6-r0","1.5.6-r1","1.5.6-r2","1.5.6-r3","1.5.6-r4","1.5.7-r0","1.5.7-r1","1.5.8-r0","1.5.8-r1","1.5.9-r0","1.5.9-r1","1.6.0-r0","1.6.0-r1","1.6.1-r0","1.6.1-r1","1.6.2-r0","1.6.3-r0","1.6.4-r0","1.6.5-r0","1.6.6-r0","1.6.7-r0","1.6.7-r1","1.6.7-r2","1.6.8-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.7.1-r0","1.7.3-r0","1.8.0-r0","1.8.1-r0","1.8.1-r1","1.8.3-r0","1.9.0-r0","1.9.1-r0","1.9.1-r1","1.9.1-r2","1.9.2-r0","1.9.2-r1","1.9.3-r0","1.9.4-r0","1.9.4-r1","1.9.5-r0","1.9.5-r1","1.9.5-r2","1.9.5-r3","1.9.6-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-8508.json"}},{"package":{"name":"unbound","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/unbound?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.0-r1"}]}],"versions":["1.10.0-r0","1.10.1-r0","1.10.1-r1","1.11.0-r0","1.12.0-r0","1.13.0-r0","1.13.0-r1","1.13.0-r2","1.13.0-r3","1.13.1-r0","1.13.1-r1","1.13.1-r2","1.13.2-r0","1.13.2-r1","1.13.2-r2","1.14.0-r0","1.14.0-r1","1.15.0-r0","1.16.0-r0","1.16.0-r1","1.16.1-r0","1.16.2-r0","1.16.2-r1","1.16.3-r0","1.17.0-r0","1.17.0-r1","1.17.1-r0","1.17.1-r1","1.17.1-r2","1.17.1-r3","1.17.1-r4","1.18.0-r0","1.19.0-r0","1.19.1-r0","1.19.2-r0","1.19.3-r0","1.19.3-r1","1.19.3-r2","1.20.0-r0","1.4.10-r0","1.4.10-r1","1.4.10-r2","1.4.10-r3","1.4.13-r0","1.4.13-r1","1.4.13-r2","1.4.13-r3","1.4.14-r0","1.4.15-r0","1.4.16-r0","1.4.17-r0","1.4.18-r0","1.4.19-r0","1.4.19-r1","1.4.19-r2","1.4.20-r0","1.4.20-r1","1.4.20-r2","1.4.21-r0","1.4.21-r1","1.4.21-r2","1.4.22-r0","1.4.22-r1","1.5.1-r0","1.5.10-r0","1.5.10-r1","1.5.10-r2","1.5.2-r0","1.5.2-r1","1.5.3-r0","1.5.4-r0","1.5.6-r0","1.5.6-r1","1.5.6-r2","1.5.6-r3","1.5.6-r4","1.5.7-r0","1.5.7-r1","1.5.8-r0","1.5.8-r1","1.5.9-r0","1.5.9-r1","1.6.0-r0","1.6.0-r1","1.6.1-r0","1.6.1-r1","1.6.2-r0","1.6.3-r0","1.6.4-r0","1.6.5-r0","1.6.6-r0","1.6.7-r0","1.6.7-r1","1.6.7-r2","1.6.8-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.7.1-r0","1.7.3-r0","1.8.0-r0","1.8.1-r0","1.8.1-r1","1.8.3-r0","1.9.0-r0","1.9.1-r0","1.9.1-r1","1.9.1-r2","1.9.2-r0","1.9.2-r1","1.9.3-r0","1.9.4-r0","1.9.4-r1","1.9.5-r0","1.9.5-r1","1.9.5-r2","1.9.5-r3","1.9.6-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-8508.json"}},{"package":{"name":"unbound","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/unbound?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.1-r0"}]}],"versions":["1.10.0-r0","1.10.1-r0","1.10.1-r1","1.11.0-r0","1.12.0-r0","1.13.0-r0","1.13.0-r1","1.13.0-r2","1.13.0-r3","1.13.1-r0","1.13.1-r1","1.13.1-r2","1.13.2-r0","1.13.2-r1","1.13.2-r2","1.14.0-r0","1.14.0-r1","1.15.0-r0","1.16.0-r0","1.16.0-r1","1.16.1-r0","1.16.2-r0","1.16.2-r1","1.16.3-r0","1.17.0-r0","1.17.0-r1","1.17.1-r0","1.17.1-r1","1.17.1-r2","1.17.1-r3","1.17.1-r4","1.18.0-r0","1.19.0-r0","1.19.1-r0","1.19.2-r0","1.19.3-r0","1.19.3-r1","1.19.3-r2","1.20.0-r0","1.20.0-r1","1.20.0-r2","1.21.0-r0","1.4.10-r0","1.4.10-r1","1.4.10-r2","1.4.10-r3","1.4.13-r0","1.4.13-r1","1.4.13-r2","1.4.13-r3","1.4.14-r0","1.4.15-r0","1.4.16-r0","1.4.17-r0","1.4.18-r0","1.4.19-r0","1.4.19-r1","1.4.19-r2","1.4.20-r0","1.4.20-r1","1.4.20-r2","1.4.21-r0","1.4.21-r1","1.4.21-r2","1.4.22-r0","1.4.22-r1","1.5.1-r0","1.5.10-r0","1.5.10-r1","1.5.10-r2","1.5.2-r0","1.5.2-r1","1.5.3-r0","1.5.4-r0","1.5.6-r0","1.5.6-r1","1.5.6-r2","1.5.6-r3","1.5.6-r4","1.5.7-r0","1.5.7-r1","1.5.8-r0","1.5.8-r1","1.5.9-r0","1.5.9-r1","1.6.0-r0","1.6.0-r1","1.6.1-r0","1.6.1-r1","1.6.2-r0","1.6.3-r0","1.6.4-r0","1.6.5-r0","1.6.6-r0","1.6.7-r0","1.6.7-r1","1.6.7-r2","1.6.8-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.7.1-r0","1.7.3-r0","1.8.0-r0","1.8.1-r0","1.8.1-r1","1.8.3-r0","1.9.0-r0","1.9.1-r0","1.9.1-r1","1.9.1-r2","1.9.2-r0","1.9.2-r1","1.9.3-r0","1.9.4-r0","1.9.4-r1","1.9.5-r0","1.9.5-r1","1.9.5-r2","1.9.5-r3","1.9.6-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-8508.json"}},{"package":{"name":"unbound","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/unbound?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.1-r0"}]}],"versions":["1.10.0-r0","1.10.1-r0","1.10.1-r1","1.11.0-r0","1.12.0-r0","1.13.0-r0","1.13.0-r1","1.13.0-r2","1.13.0-r3","1.13.1-r0","1.13.1-r1","1.13.1-r2","1.13.2-r0","1.13.2-r1","1.13.2-r2","1.14.0-r0","1.14.0-r1","1.15.0-r0","1.16.0-r0","1.16.0-r1","1.16.1-r0","1.16.2-r0","1.16.2-r1","1.16.3-r0","1.17.0-r0","1.17.0-r1","1.17.1-r0","1.17.1-r1","1.17.1-r2","1.17.1-r3","1.17.1-r4","1.18.0-r0","1.19.0-r0","1.19.1-r0","1.19.2-r0","1.19.3-r0","1.19.3-r1","1.19.3-r2","1.20.0-r0","1.20.0-r1","1.20.0-r2","1.21.0-r0","1.4.10-r0","1.4.10-r1","1.4.10-r2","1.4.10-r3","1.4.13-r0","1.4.13-r1","1.4.13-r2","1.4.13-r3","1.4.14-r0","1.4.15-r0","1.4.16-r0","1.4.17-r0","1.4.18-r0","1.4.19-r0","1.4.19-r1","1.4.19-r2","1.4.20-r0","1.4.20-r1","1.4.20-r2","1.4.21-r0","1.4.21-r1","1.4.21-r2","1.4.22-r0","1.4.22-r1","1.5.1-r0","1.5.10-r0","1.5.10-r1","1.5.10-r2","1.5.2-r0","1.5.2-r1","1.5.3-r0","1.5.4-r0","1.5.6-r0","1.5.6-r1","1.5.6-r2","1.5.6-r3","1.5.6-r4","1.5.7-r0","1.5.7-r1","1.5.8-r0","1.5.8-r1","1.5.9-r0","1.5.9-r1","1.6.0-r0","1.6.0-r1","1.6.1-r0","1.6.1-r1","1.6.2-r0","1.6.3-r0","1.6.4-r0","1.6.5-r0","1.6.6-r0","1.6.7-r0","1.6.7-r1","1.6.7-r2","1.6.8-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.7.1-r0","1.7.3-r0","1.8.0-r0","1.8.1-r0","1.8.1-r1","1.8.3-r0","1.9.0-r0","1.9.1-r0","1.9.1-r1","1.9.1-r2","1.9.2-r0","1.9.2-r1","1.9.3-r0","1.9.4-r0","1.9.4-r1","1.9.5-r0","1.9.5-r1","1.9.5-r2","1.9.5-r3","1.9.6-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-8508.json"}},{"package":{"name":"unbound","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/unbound?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.1-r0"}]}],"versions":["1.10.0-r0","1.10.1-r0","1.10.1-r1","1.11.0-r0","1.12.0-r0","1.13.0-r0","1.13.0-r1","1.13.0-r2","1.13.0-r3","1.13.1-r0","1.13.1-r1","1.13.1-r2","1.13.2-r0","1.13.2-r1","1.13.2-r2","1.14.0-r0","1.14.0-r1","1.15.0-r0","1.16.0-r0","1.16.0-r1","1.16.1-r0","1.16.2-r0","1.16.2-r1","1.16.3-r0","1.17.0-r0","1.17.0-r1","1.17.1-r0","1.17.1-r1","1.17.1-r2","1.17.1-r3","1.17.1-r4","1.18.0-r0","1.19.0-r0","1.19.1-r0","1.19.2-r0","1.19.3-r0","1.19.3-r1","1.19.3-r2","1.20.0-r0","1.20.0-r1","1.20.0-r2","1.21.0-r0","1.4.10-r0","1.4.10-r1","1.4.10-r2","1.4.10-r3","1.4.13-r0","1.4.13-r1","1.4.13-r2","1.4.13-r3","1.4.14-r0","1.4.15-r0","1.4.16-r0","1.4.17-r0","1.4.18-r0","1.4.19-r0","1.4.19-r1","1.4.19-r2","1.4.20-r0","1.4.20-r1","1.4.20-r2","1.4.21-r0","1.4.21-r1","1.4.21-r2","1.4.22-r0","1.4.22-r1","1.5.1-r0","1.5.10-r0","1.5.10-r1","1.5.10-r2","1.5.2-r0","1.5.2-r1","1.5.3-r0","1.5.4-r0","1.5.6-r0","1.5.6-r1","1.5.6-r2","1.5.6-r3","1.5.6-r4","1.5.7-r0","1.5.7-r1","1.5.8-r0","1.5.8-r1","1.5.9-r0","1.5.9-r1","1.6.0-r0","1.6.0-r1","1.6.1-r0","1.6.1-r1","1.6.2-r0","1.6.3-r0","1.6.4-r0","1.6.5-r0","1.6.6-r0","1.6.7-r0","1.6.7-r1","1.6.7-r2","1.6.8-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.7.1-r0","1.7.3-r0","1.8.0-r0","1.8.1-r0","1.8.1-r1","1.8.3-r0","1.9.0-r0","1.9.1-r0","1.9.1-r1","1.9.1-r2","1.9.2-r0","1.9.2-r1","1.9.3-r0","1.9.4-r0","1.9.4-r1","1.9.5-r0","1.9.5-r1","1.9.5-r2","1.9.5-r3","1.9.6-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-8508.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}