]> git.ipfire.org Git - thirdparty/unbound.git/tag
release-1.21.1
object b7c61d7cc256d6a174e6179622c7fa968272c259
authorYorgos Thessalonikefs <yorgos@nlnetlabs.nl>
Fri, 4 Oct 2024 10:27:51 +0000 (12:27 +0200)
Unbound 1.21.1

This security release fixes CVE-2024-8508.

A vulnerability has been discovered in Unbound when handling replies
with very large RRsets that Unbound 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.

We would like to thank Toshifumi Sakaguchi for discovering and
responsibly disclosing the vulnerability.

Bug Fixes:
- Fix CVE-2024-8508, unbounded name compression could lead to denial of
  service.
-----BEGIN PGP SIGNATURE-----

iQJIBAABCAAyFiEElI60IyLF0At5NA9dz/M0TZCHpJAFAmb/w+0UHGdlb3JnZUBu
bG5ldGxhYnMubmwACgkQz/M0TZCHpJCjIRAAnOVrPTygkhNsDebABKk4m/sMHNrN
JSkNWUlzzj95nIZ1Si8qBzO4qp9e9an36kGXSgj8A64qZVYRAsqoqt2zdVVs+plN
ShYINug3GuXa2sQmdEicr3vfg4f7VFPpmqV6PTZTmltviDXU8FLMqCbqj3c18KQs
8yikJsnlw35lmNs3Zv1Y/K3hct66GzveOMYsJas3m2zN4NL3hYbPwdgrhtJ6+bSj
Cy3lVJUVnfuiSX46hOGhlyuMw6lV/GK0+l03sDqZpVutI0CQKWsvXQmFoRD6CmtD
8titUqsHf1AqVW3+40sstAXLj+somndfobvafEoeUlmNfeutsyLD4hlU4hLQZqJR
Mc1+JhiU0qMnsVkYu26YM9HSRxg0qRXCMxDohem+qE0MJ1psIC2VfjlZ8pfdHxrn
wWKl7O6Kq8FXzwAmOKYD64JBsMwK/h9EraaDApxs63K/1PX9a/MmfBy8cpeUO/i2
xhL2ywn2pETYWNQMRbUTmHjWb5ZyxwFktpsNG58rnOgfLLjhG21CwgYtX65AAMyz
0ZTBhsXP0dfpKtC7maEiksdaR5X3z+1QR1JcgGcinsJ2SNV7LUh41ONkO3RiDvP+
V9Z8wcJucoI+YfFVemdZCDH742Ko8WnwP0acWPABToZMyZTUYy+h4D7kKfwKgf1D
JXjgdQWhTjHYvC0=
=Eqng
-----END PGP SIGNATURE-----