Skip to content

Commit e016f08

Browse files
[AutoPR- Security] Patch coredns for CVE-2025-59530 [HIGH] (microsoft#14932)
1 parent 4071738 commit e016f08

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

SPECS/coredns/CVE-2025-59530.patch

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

SPECS/coredns/coredns.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Summary: Fast and flexible DNS server
44
Name: coredns
55
Version: 1.11.1
6-
Release: 23%{?dist}
6+
Release: 24%{?dist}
77
License: Apache License 2.0
88
Vendor: Microsoft Corporation
99
Distribution: Mariner
@@ -47,6 +47,7 @@ Patch11: CVE-2025-29786.patch
4747
Patch12: CVE-2024-51744.patch
4848
Patch13: CVE-2025-47950.patch
4949
Patch14: CVE-2025-58063.patch
50+
Patch15: CVE-2025-59530.patch
5051

5152
BuildRequires: msft-golang
5253

@@ -85,6 +86,9 @@ install -p -m 755 -t %{buildroot}%{_bindir} %{name}
8586
%{_bindir}/%{name}
8687

8788
%changelog
89+
* Mon Oct 27 2025 Azure Linux Security Servicing Account <[email protected]> - 1.11.1-24
90+
- Patch for CVE-2025-59530
91+
8892
* Tue Oct 14 2025 Kanishk Bansal <[email protected]> - 1.11.1-23
8993
- Bump to build with latest golang 1.24.9
9094

0 commit comments

Comments
 (0)