mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-04 14:56:41 +00:00
unbound: patch CVE-2026-44687
Details: https://nvd.nist.gov/vuln/detail/cve-2026-44687 Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com> Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
This commit is contained in:
1 parent
83e98ed1a1
commit
04efaf8876
2 files changed
+32
No files matched your search
@@ -0,0 +1,31 @@
|
||||
From ac34bce07f66a96baf85e3f25f99623b08b6dd86 Mon Sep 17 00:00:00 2001
|
||||
From: "W.C.A. Wijngaards" <wouter@nlnetlabs.nl>
|
||||
Date: Wed, 22 Jul 2026 10:12:03 +0200
|
||||
Subject: [PATCH] - Fix CVE-2026-44687, Off-by-one error in
|
||||
'harden-below-nxdomain' logic can shadow a stub/forward zone by a
|
||||
legitimate parent's NXDOMAIN. Thanks to Qifan Zhang, Palo Alto Networks,
|
||||
for the report.
|
||||
|
||||
(cherry picked from commit 1e1940383ab5ee655fe7fac0da606fe59c76ce86)
|
||||
|
||||
CVE: CVE-2026-44687
|
||||
Upstream-Status: Backport [https://github.com/NLnetLabs/unbound/commit/1e1940383ab5ee655fe7fac0da606fe59c76ce86]
|
||||
|
||||
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
|
||||
---
|
||||
services/cache/dns.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/services/cache/dns.c b/services/cache/dns.c
|
||||
index 8dae2ffcc..121870ee3 100644
|
||||
--- a/services/cache/dns.c
|
||||
+++ b/services/cache/dns.c
|
||||
@@ -1019,7 +1019,7 @@ dns_cache_lookup(struct module_env* env,
|
||||
if(env->cfg->harden_below_nxdomain) {
|
||||
while(!dname_is_root(k.qname)) {
|
||||
if(dpname && dpnamelen
|
||||
- && !dname_subdomain_c(k.qname, dpname))
|
||||
+ && !dname_strict_subdomain_c(k.qname, dpname))
|
||||
break; /* no synth nxdomain above the stub */
|
||||
dname_remove_label(&k.qname, &k.qname_len);
|
||||
h = query_info_hash(&k, flags);
|
||||
@@ -27,6 +27,7 @@ SRC_URI = "git://github.com/NLnetLabs/unbound.git;protocol=https;branch=master;t
|
||||
file://CVE-2026-32665.patch \
|
||||
file://CVE-2026-42955.patch \
|
||||
file://CVE-2026-44621.patch \
|
||||
file://CVE-2026-44687.patch \
|
||||
"
|
||||
|
||||
SRCREV = "f6269baa605d31859f28770e01a24e3677e5f82c"
|
||||
|
||||
Reference in new issue
Block a user