Skip to content

Commit 29bee57

Browse files
CBL-Mariner-Botazurelinux-securityjslobodzian
authored
Merge PR "[AUTO-CHERRYPICK] [AutoPR- Security] Patch coredns for CVE-2025-59530 [HIGH] - branch 3.0-dev" microsoft#14977
Co-authored-by: Azure Linux Security Servicing Account <[email protected]> Co-authored-by: jslobodzian <[email protected]>
1 parent 751623b commit 29bee57

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

SPECS/coredns/CVE-2025-59530.patch

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
From f68d11ccd859e1482e0be9b1ff8e3a45bc60f4f4 Mon Sep 17 00:00:00 2001
2+
From: AllSpark <[email protected]>
3+
Date: Mon, 27 Oct 2025 09:18:52 +0000
4+
Subject: [PATCH] quic: drop initial keys on handshake confirmed; update tests
5+
expectations accordingly
6+
7+
Signed-off-by: Azure Linux Security Servicing Account <[email protected]>
8+
Upstream-reference: AI Backport of https://github.com/quic-go/quic-go/pull/5354.patch
9+
---
10+
vendor/github.com/quic-go/quic-go/connection.go | 7 +++++++
11+
1 file changed, 7 insertions(+)
12+
13+
diff --git a/vendor/github.com/quic-go/quic-go/connection.go b/vendor/github.com/quic-go/quic-go/connection.go
14+
index 1411a77..24d634f 100644
15+
--- a/vendor/github.com/quic-go/quic-go/connection.go
16+
+++ b/vendor/github.com/quic-go/quic-go/connection.go
17+
@@ -772,6 +772,13 @@ func (s *connection) handleHandshakeComplete() error {
18+
}
19+
20+
func (s *connection) handleHandshakeConfirmed() error {
21+
+ // Drop initial keys.
22+
+ // On the client side, this should have happened when sending the first Handshake packet,
23+
+ // but this is not guaranteed if the server misbehaves.
24+
+ // See CVE-2025-59530 for more details.
25+
+ if err := s.dropEncryptionLevel(protocol.EncryptionInitial); err != nil {
26+
+ return err
27+
+ }
28+
if err := s.dropEncryptionLevel(protocol.EncryptionHandshake); err != nil {
29+
return err
30+
}
31+
--
32+
2.45.4
33+

SPECS/coredns/coredns.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Summary: Fast and flexible DNS server
77
Name: coredns
88
Version: 1.11.4
9-
Release: 10%{?dist}
9+
Release: 11%{?dist}
1010
License: Apache License 2.0
1111
Vendor: Microsoft Corporation
1212
Distribution: Azure Linux
@@ -42,6 +42,7 @@ Patch3: CVE-2025-30204.patch
4242
Patch4: CVE-2024-53259.patch
4343
Patch5: CVE-2025-47950.patch
4444
Patch6: CVE-2025-58063.patch
45+
Patch7: CVE-2025-59530.patch
4546

4647
BuildRequires: golang < 1.25
4748

@@ -83,6 +84,9 @@ go install github.com/fatih/faillint@latest && \
8384
%{_bindir}/%{name}
8485

8586
%changelog
87+
* Mon Oct 27 2025 Azure Linux Security Servicing Account <[email protected]> - 1.11.4-11
88+
- Patch for CVE-2025-59530
89+
8690
* Thu Sep 18 2025 Pawel Winogrodzki <[email protected]> - 1.11.4-10
8791
- Changed patch order to resolve 'make' race condition.
8892

0 commit comments

Comments
 (0)