CVE-2023-50868
Description
Important: bind security update
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2023-50868 NameCVE-2023-50868 DescriptionThe Closest Encloser Proof aspect of the DNS protocol (in RFC 5155 when RFC 9276 guidance is skipped) allows remote attackers to cause a denial of service (CPU consumption for SHA-1 computations) via DNSSEC responses in a random subdomain attack, aka the "NSEC3" issue. The RFC 5155 specification implies that an algorithm must perform thousands ofโฆ
CVE-2023-50868
| Name | CVE-2023-50868 |
| Description | The Closest Encloser Proof aspect of the DNS protocol (in RFC 5155 when RFC 9276 guidance is skipped) allows remote attackers to cause a denial of service (CPU consumption for SHA-1 computations) via DNSSEC responses in a random subdomain attack, aka the "NSEC3" issue. The RFC 5155 specification implies that an algorithm must perform thousands of iterations of a hash function in certain situations. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-3736-1, DLA-3816-1, DLA-3859-1, DLA-3974-1, DSA-5620-1, DSA-5621-1, DSA-5626-1, DSA-5633-1 |
| Debian Bugs | 1063845, 1063852, 1077751 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| bind9 (PTS) | bullseye | 1:9.16.50-1~deb11u2 | fixed |
| bullseye (security) | 1:9.16.50-1~deb11u5 | fixed | |
| bookworm | 1:9.18.47-1~deb12u1 | fixed | |
| bookworm (security) | 1:9.18.49-1~deb12u1 | fixed | |
| trixie | 1:9.20.21-1~deb13u1 | fixed | |
| trixie (security) | 1:9.20.23-1~deb13u1 | fixed | |
| forky, sid | 1:9.20.23-1 | fixed | |
| dnsjava (PTS) | bookworm, bullseye | 2.1.8-2 | vulnerable |
| trixie | 3.6.2-2 | fixed | |
| forky, sid | 3.6.3-1 | fixed | |
| dnsmasq (PTS) | bullseye | 2.85-1 | vulnerable |
| bullseye (security) | 2.85-1+deb11u1 | fixed | |
| bookworm, bookworm (security) | 2.90-4~deb12u2 | fixed | |
| trixie (security), trixie | 2.91-1+deb13u1 | fixed | |
| forky, sid | 2.92-5 | fixed | |
| knot-resolver (PTS) | bullseye | 5.3.1-1+deb11u1 | vulnerable |
| bookworm, bookworm (security) | 5.6.0-1+deb12u1 | fixed | |
| trixie | 5.7.5-1 | fixed | |
| forky, sid | 6.2.0-2 | fixed | |
| pdns-recursor (PTS) | bullseye | 4.4.2-3 | vulnerable |
| bookworm, bookworm (security) | 4.8.8-1+deb12u1 | fixed | |
| trixie (security), trixie | 5.2.9-0+deb13u1 | fixed | |
| forky | 5.4.1-1 | fixed | |
| sid | 5.4.2-1 | fixed | |
| systemd (PTS) | bullseye | 247.3-7+deb11u5 | vulnerable |
| bullseye (security) | 247.3-7+deb11u8 | fixed | |
| bookworm | 252.39-1~deb12u2 | fixed | |
| bookworm (security) | 252.38-1~deb12u1 | fixed | |
| trixie | 257.13-1~deb13u1 | fixed | |
| forky | 260.1-1 | fixed | |
| sid | 261~rc2-1 | fixed | |
| unbound (PTS) | bullseye | 1.13.1-1+deb11u2 | fixed |
| bullseye (security) | 1.13.1-1+deb11u7 | fixed | |
| bookworm | 1.17.1-2+deb12u4 | fixed | |
| bookworm (security) | 1.17.1-2+deb12u3 | fixed | |
| trixie | 1.22.0-2+deb13u2 | fixed | |
| trixie (security) | 1.22.0-2+deb13u3 | fixed | |
| forky, sid | 1.25.1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| bind9 | source | buster | 1:9.11.5.P4+dfsg-5.1+deb10u11 | DLA-3816-1 | ||
| bind9 | source | bullseye | 1:9.16.48-1 | DSA-5621-1 | ||
| bind9 | source | bookworm | 1:9.18.24-1 | DSA-5621-1 | ||
| bind9 | source | (unstable) | 1:9.19.21-1 | |||
| dnsjava | source | (unstable) | 3.6.2-1 | 1077751 | ||
| dnsmasq | source | bullseye | 2.85-1+deb11u1 | DLA-3974-1 | ||
| dnsmasq | source | bookworm | 2.90-4~deb12u1 | |||
| dnsmasq | source | (unstable) | 2.90-1 | |||
| knot-resolver | source | bookworm | 5.6.0-1+deb12u1 | DSA-5633-1 | ||
| knot-resolver | source | (unstable) | 5.7.1-1 | |||
| pdns-recursor | source | bullseye | (unfixed) | end-of-life | ||
| pdns-recursor | source | bookworm | 4.8.6-1 | DSA-5626-1 | ||
| pdns-recursor | source | (unstable) | 4.9.3-1 | 1063852 | ||
| systemd | source | bullseye | 247.3-7+deb11u6 | DLA-3859-1 | ||
| systemd | source | bookworm | 252.23-1~deb12u1 | |||
| systemd | source | (unstable) | 255.4-1 | |||
| unbound | source | buster | 1.9.0-2+deb10u4 | DLA-3736-1 | ||
| unbound | source | bullseye | 1.13.1-1+deb11u2 | DSA-5620-1 | ||
| unbound | source | bookworm | 1.17.1-2+deb12u2 | DSA-5620-1 | ||
| unbound | source | (unstable) | 1.19.1-1 | 1063845 |
Notes
[bullseye] - knot-resolver <ignored> (Too intrusive to backport, if DNSSEC is used Bookworm can be used)
[buster] - knot-resolver <ignored> (Too intrusive to backport, if DNSSEC is used Bookworm can be used)
[bullseye] - pdns-recursor <end-of-life> (No longer supported with security updates in Bullseye)
[buster] - systemd <no-dsa> (DNSSEC is disabled by default in systemd-resolved; can be fixed via point release)
[bookworm] - dnsjava <no-dsa> (Minor issue)
[bullseye] - dnsjava <no-dsa> (Minor issue)
https://kb.isc.org/docs/cve-2023-50868
https://downloads.isc.org/isc/bind9/9.16.48/patches/0005-CVE-2023-50387-CVE-2023-50868.patch
https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q1/017430.html
https://www.knot-resolver.cz/2024-02-13-knot-resolver-5.7.1.html
https://github.com/CZ-NIC/knot-resolver/commit/e966b7fdb167add0ec37c56a954c2d847f627985 (v5.7.1)
https://github.com/CZ-NIC/knot-resolver/commit/eccb8e278c1cde0548cc570eac619feaa290cede (v5.7.1)
https://github.com/CZ-NIC/knot-resolver/commit/b5051ac26f34358b40f9115f977fe1f54e8f581e (v5.7.1)
https://github.com/CZ-NIC/knot-resolver/commit/24699e9f206a8f957b516cad22a8e5790d226836 (v5.7.1)
https://github.com/CZ-NIC/knot-resolver/commit/a05cf1d379d1af0958587bd111f791b72f404364 (v5.7.1)
https://github.com/CZ-NIC/knot-resolver/commit/9b421cdf91f987e0254a06ff2c4e8fbf76dc2b58 (v5.7.1)
https://github.com/CZ-NIC/knot-resolver/commit/5e80624b18d40ae44be704751d3b22943edf287f
https://github.com/CZ-NIC/knot-resolver/commit/f9ba52e6f54bc1db122870df50cb364cb977436e (v5.7.1)
https://github.com/CZ-NIC/knot-resolver/commit/b044babbee358dc305d770a1dab3a877c49468a7 (v5.7.1)
https://blog.powerdns.com/2024/02/13/powerdns-recursor-4-8-6-4-9-3-5-0-2-released
Fixed by: https://github.com/PowerDNS/pdns/pull/13781
https://nlnetlabs.nl/news/2024/Feb/13/unbound-1.19.1-released/
https://nlnetlabs.nl/downloads/unbound/CVE-2023-50387_CVE-2023-50868.txt
Fixed by: https://github.com/NLnetLabs/unbound/commit/92f2a1ca690a44880f4c4fa70a4b5a4b029aaf1c (release-1.19.1)
https://github.com/systemd/systemd/issues/31413
https://github.com/systemd/systemd/commit/67d0ce8843d612a2245d0966197d4f528b911b66 (v256)
https://github.com/systemd/systemd/commit/eba291124bc11f03732d1fc468db3bfac069f9cb (v256)
https://github.com/systemd/systemd-stable/commit/1ebdb19ff194120109b08bbf888bdcc502f83211 (v255.4)
https://github.com/systemd/systemd-stable/commit/572692f0bdd6a3fabe3dd4a3e8e5565cc69b5e14 (v255.4)
https://github.com/systemd/systemd-stable/commit/2f5edffa8ffd5210165ebe7604f07d23f375fe9a (v254.10)
https://github.com/systemd/systemd-stable/commit/9899281c59a91f19c8b39362d203e997d2faf233 (v254.10)
https://github.com/systemd/systemd-stable/commit/7886eea2425fe7773cc012da0b2e266e33d4be12 (v253.17)
https://github.com/systemd/systemd-stable/commit/156e519d990a5662c719a1cbe80c6a02a2b9115f (v253.17)
https://github.com/systemd/systemd-stable/commit/7633d969f3422f9ad380a512987d398e54764817 (v252.23)
https://github.com/systemd/systemd-stable/commit/b43bcb51ebf9aea21b1e280e1872056994e3f53d (v252.23)
systemd: DNSSEC is default to off in systemd-resolved
https://github.com/advisories/GHSA-mmwx-rj87-vfgr
https://github.com/dnsjava/dnsjava/commit/711af79be3214f52daa5c846b95766dc0a075116 (v3.6.0)
Apply commands
[bullseye] - knot-resolver <ignored> (Too intrusive to backport, if DNSSEC is used Bookworm can be used)[buster] - knot-resolver <ignored> (Too intrusive to backport, if DNSSEC is used Bookworm can be used)[bullseye] - pdns-recursor <end-of-life> (No longer supported with security updates in Bullseye)[buster] - systemd <no-dsa> (DNSSEC is disabled by default in systemd-resolved; can be fixed via point release)[bookworm] - dnsjava <no-dsa> (Minor issue)[bullseye] - dnsjava <no-dsa> (Minor issue)https://kb.isc.org/docs/cve-2023-50868https://downloads.isc.org/isc/bind9/9.16.48/patches/0005-CVE-2023-50387-CVE-2023-50868.patchhttps://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q1/017430.htmlhttps://www.knot-resolver.cz/2024-02-13-knot-resolver-5.7.1.htmlhttps://github.com/CZ-NIC/knot-resolver/commit/e966b7fdb167add0ec37c56a954c2d847f627985 (v5.7.1)https://github.com/CZ-NIC/knot-resolver/commit/eccb8e278c1cde0548cc570eac619feaa290cede (v5.7.1)https://github.com/CZ-NIC/knot-resolver/commit/b5051ac26f34358b40f9115f977fe1f54e8f581e (v5.7.1)https://github.com/CZ-NIC/knot-resolver/commit/24699e9f206a8f957b516cad22a8e5790d226836 (v5.7.1)https://github.com/CZ-NIC/knot-resolver/commit/a05cf1d379d1af0958587bd111f791b72f404364 (v5.7.1)https://github.com/CZ-NIC/knot-resolver/commit/9b421cdf91f987e0254a06ff2c4e8fbf76dc2b58 (v5.7.1)https://github.com/CZ-NIC/knot-resolver/commit/5e80624b18d40ae44be704751d3b22943edf287fhttps://github.com/CZ-NIC/knot-resolver/commit/f9ba52e6f54bc1db122870df50cb364cb977436e (v5.7.1)https://github.com/CZ-NIC/knot-resolver/commit/b044babbee358dc305d770a1dab3a877c49468a7 (v5.7.1)https://blog.powerdns.com/2024/02/13/powerdns-recursor-4-8-6-4-9-3-5-0-2-releasedFixed by: https://github.com/PowerDNS/pdns/pull/13781https://nlnetlabs.nl/news/2024/Feb/13/unbound-1.19.1-released/https://nlnetlabs.nl/downloads/unbound/CVE-2023-50387_CVE-2023-50868.txtFixed by: https://github.com/NLnetLabs/unbound/commit/92f2a1ca690a44880f4c4fa70a4b5a4b029aaf1c (release-1.19.1)https://github.com/systemd/systemd/issues/31413https://github.com/systemd/systemd/commit/67d0ce8843d612a2245d0966197d4f528b911b66 (v256)https://github.com/systemd/systemd/commit/eba291124bc11f03732d1fc468db3bfac069f9cb (v256)https://github.com/systemd/systemd-stable/commit/1ebdb19ff194120109b08bbf888bdcc502f83211 (v255.4)https://github.com/systemd/systemd-stable/commit/572692f0bdd6a3fabe3dd4a3e8e5565cc69b5e14 (v255.4)https://github.com/systemd/systemd-stable/commit/2f5edffa8ffd5210165ebe7604f07d23f375fe9a (v254.10)https://github.com/systemd/systemd-stable/commit/9899281c59a91f19c8b39362d203e997d2faf233 (v254.10)https://github.com/systemd/systemd-stable/commit/7886eea2425fe7773cc012da0b2e266e33d4be12 (v253.17)https://github.com/systemd/systemd-stable/commit/156e519d990a5662c719a1cbe80c6a02a2b9115f (v253.17)https://github.com/systemd/systemd-stable/commit/7633d969f3422f9ad380a512987d398e54764817 (v252.23)https://github.com/systemd/systemd-stable/commit/b43bcb51ebf9aea21b1e280e1872056994e3f53d (v252.23)systemd: DNSSEC is default to off in systemd-resolvedhttps://github.com/advisories/GHSA-mmwx-rj87-vfgrhttps://github.com/dnsjava/dnsjava/commit/711af79be3214f52daa5c846b95766dc0a075116 (v3.6.0)
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
AlmaLinux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | python3-unbound-1.16.2-3.el9_3.1.aarch64.rpm |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1:9.19.21-1 |
| sid | Fixed | 1:9.19.21-1 |
| forky | Fixed | 1:9.19.21-1 |
| bullseye | Fixed | 1:9.16.48-1 |
| bookworm | Fixed | 1:9.18.24-1 |
Red Hat Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
Rocky Linux Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
References
- https://access.redhat.com/errata/RHSA-2024:0977
- https://access.redhat.com/errata/RHSA-2024:1334
- https://access.redhat.com/errata/RHSA-2024:1789
- https://access.redhat.com/errata/RHSA-2024:2551
- https://security-tracker.debian.org/tracker/CVE-2023-50868
- https://errata.rockylinux.org/RLSA-2024:3271
- https://errata.rockylinux.org/RLSA-2024:1781
- https://errata.rockylinux.org/RLSA-2024:1782
- https://errata.rockylinux.org/RLSA-2024:1335
- https://www.suse.com/security/cve/CVE-2023-50868.html
- https://access.redhat.com/errata/RHSA-2024:0965
- https://bugzilla.redhat.com/2263914
- https://bugzilla.redhat.com/2263917
- https://errata.almalinux.org/8/ALSA-2024-0965.html
- https://access.redhat.com/errata/RHSA-2024:1335
- https://errata.almalinux.org/8/ALSA-2024-1335.html
- https://errata.almalinux.org/9/ALSA-2024-0977.html
- https://errata.almalinux.org/9/ALSA-2024-1334.html
- https://access.redhat.com/errata/RHSA-2024:1781
- https://bugzilla.redhat.com/2263896
- https://bugzilla.redhat.com/2263897
- https://bugzilla.redhat.com/2263909
- https://bugzilla.redhat.com/2263911
- https://errata.almalinux.org/8/ALSA-2024-1781.html
- https://access.redhat.com/errata/RHSA-2024:1782
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.