Skip to content

Commit f0f2973

Browse files
Patch unbound for CVE-2025-11411
1 parent 37a72f7 commit f0f2973

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

SPECS/unbound/CVE-2025-11411.patch

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
From cd5846215e0e1760123a13a33c3447419d3fb799 Mon Sep 17 00:00:00 2001
2+
From: Azure Linux Security Servicing Account
3+
4+
Date: Fri, 24 Oct 2025 06:16:16 +0000
5+
Subject: [PATCH] Fix for CVE-2025-11411
6+
7+
Signed-off-by: Azure Linux Security Servicing Account <[email protected]>
8+
Upstream-reference: https://nlnetlabs.nl/downloads/unbound/patch_CVE-2025-11411.diff
9+
---
10+
iterator/iter_scrub.c | 16 ++++++++++++++++
11+
1 file changed, 16 insertions(+)
12+
13+
diff --git a/iterator/iter_scrub.c b/iterator/iter_scrub.c
14+
index 5f2e303..47dc40a 100644
15+
--- a/iterator/iter_scrub.c
16+
+++ b/iterator/iter_scrub.c
17+
@@ -570,6 +570,22 @@ scrub_normalize(sldns_buffer* pkt, struct msg_parse* msg,
18+
"RRset:", pkt, msg, prev, &rrset);
19+
continue;
20+
}
21+
+ /* If the NS set is a promiscuous NS set, scrub that
22+
+ * to remove potential for poisonous contents that
23+
+ * affects other names in the same zone. Remove
24+
+ * promiscuous NS sets in positive answers, that
25+
+ * thus have records in the answer section. Nodata
26+
+ * and nxdomain promiscuous NS sets have been removed
27+
+ * already. Since the NS rrset is scrubbed, its
28+
+ * address records are also not marked to be allowed
29+
+ * and are removed later. */
30+
+ if(FLAGS_GET_RCODE(msg->flags) == LDNS_RCODE_NOERROR &&
31+
+ msg->an_rrsets != 0 &&
32+
+ 1 /* env->cfg->iter_scrub_promiscuous */) {
33+
+ remove_rrset("normalize: removing promiscuous "
34+
+ "RRset:", pkt, msg, prev, &rrset);
35+
+ continue;
36+
+ }
37+
if(nsset == NULL) {
38+
nsset = rrset;
39+
} else {
40+
--
41+
2.45.4
42+

SPECS/unbound/unbound.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Summary: unbound dns server
22
Name: unbound
33
Version: 1.19.1
4-
Release: 4%{?dist}
4+
Release: 5%{?dist}
55
License: BSD
66
Vendor: Microsoft Corporation
77
Distribution: Azure Linux
@@ -13,6 +13,7 @@ Patch0: CVE-2024-43168.patch
1313
Patch1: CVE-2024-33655.patch
1414
Patch2: CVE-2024-8508.patch
1515
Patch3: CVE-2024-43167.patch
16+
Patch4: CVE-2025-11411.patch
1617
BuildRequires: expat-devel
1718
BuildRequires: libevent-devel
1819
BuildRequires: python3-devel
@@ -100,6 +101,9 @@ useradd -r -g unbound -d %{_sysconfdir}/unbound -s /sbin/nologin \
100101
%{_mandir}/*
101102

102103
%changelog
104+
* Fri Oct 24 2025 Azure Linux Security Servicing Account <[email protected]> - 1.19.1-5
105+
- Patch for CVE-2025-11411
106+
103107
* Tue Oct 08 2024 Sam Meluch <[email protected]> - 1.19.1-4
104108
- Add patches for CVE-2024-8508 and CVE-2024-43167
105109

0 commit comments

Comments
 (0)