Skip to content

Commit 319adf9

Browse files
committed
2 parents 9a5281f + 0bc19c3 commit 319adf9

8 files changed

Lines changed: 643 additions & 68 deletions

SPECS/coredns/CVE-2024-53259.patch

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
From 9b14032d7df3bf7ff702748cdaed1bfcc01e7c0e Mon Sep 17 00:00:00 2001
2+
From: Mayank Singh <mayansingh@microsoft.com>
3+
Date: Wed, 19 Mar 2025 07:38:43 +0000
4+
Subject: [PATCH] Address CVE-2024-53259
5+
Upstream Reference Link: https://github.com/quic-go/quic-go/pull/4729
6+
7+
---
8+
vendor/github.com/quic-go/quic-go/sys_conn_df_linux.go | 4 ++--
9+
1 file changed, 2 insertions(+), 2 deletions(-)
10+
11+
diff --git a/vendor/github.com/quic-go/quic-go/sys_conn_df_linux.go b/vendor/github.com/quic-go/quic-go/sys_conn_df_linux.go
12+
index 199f634..0899360 100644
13+
--- a/vendor/github.com/quic-go/quic-go/sys_conn_df_linux.go
14+
+++ b/vendor/github.com/quic-go/quic-go/sys_conn_df_linux.go
15+
@@ -20,8 +20,8 @@ func setDF(rawConn syscall.RawConn) (bool, error) {
16+
// and the datagram will not be fragmented
17+
var errDFIPv4, errDFIPv6 error
18+
if err := rawConn.Control(func(fd uintptr) {
19+
- errDFIPv4 = unix.SetsockoptInt(int(fd), unix.IPPROTO_IP, unix.IP_MTU_DISCOVER, unix.IP_PMTUDISC_DO)
20+
- errDFIPv6 = unix.SetsockoptInt(int(fd), unix.IPPROTO_IPV6, unix.IPV6_MTU_DISCOVER, unix.IPV6_PMTUDISC_DO)
21+
+ errDFIPv4 = unix.SetsockoptInt(int(fd), unix.IPPROTO_IP, unix.IP_MTU_DISCOVER, unix.IP_PMTUDISC_PROBE)
22+
+ errDFIPv6 = unix.SetsockoptInt(int(fd), unix.IPPROTO_IPV6, unix.IPV6_MTU_DISCOVER, unix.IPV6_PMTUDISC_PROBE)
23+
}); err != nil {
24+
return false, err
25+
}
26+
--
27+
2.45.3
28+

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: 14%{?dist}
6+
Release: 15%{?dist}
77
License: Apache License 2.0
88
Vendor: Microsoft Corporation
99
Distribution: Mariner
@@ -41,6 +41,7 @@ Patch7: CVE-2025-22868.patch
4141
# Patch to fix the package test suite due to external akamai update
4242
# https://github.com/coredns/coredns/commit/d8ecde1080e7cbbeb98257ba4e03a271f16b4cd9
4343
Patch8: coredns-example-net-test.patch
44+
Patch9: CVE-2024-53259.patch
4445

4546
BuildRequires: msft-golang
4647

@@ -79,6 +80,9 @@ install -p -m 755 -t %{buildroot}%{_bindir} %{name}
7980
%{_bindir}/%{name}
8081

8182
%changelog
83+
* Wed Mar 19 2025 Mayank Singh <mayansingh@microsoft.com> - 1.11.1-15
84+
- Fix CVE-2024-53259 with an upstream patch
85+
8286
* Mon Mar 03 2025 Sam Meluch <sammeluch@microsoft.com> - 1.11.1-14
8387
- Fix package test with upstream patch
8488

0 commit comments

Comments
 (0)