Skip to content

Commit 742fd10

Browse files
Merge PR "[AUTO-CHERRYPICK] [AutoPR- Security] Patch telegraf for CVE-2026-4645 [HIGH] - branch main" #16328
Co-authored-by: Azure Linux Security Servicing Account <azurelinux-security@microsoft.com>
1 parent 1f8560c commit 742fd10

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

SPECS/telegraf/CVE-2026-4645.patch

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
From b4b9caff8bff240da63db2ea2994e21fe9f65396 Mon Sep 17 00:00:00 2001
2+
From: zhengchun <zhengchunster@gmail.com>
3+
Date: Sat, 21 Feb 2026 21:32:17 +0800
4+
Subject: [PATCH] fix #121
5+
6+
Signed-off-by: Azure Linux Security Servicing Account <azurelinux-security@microsoft.com>
7+
Upstream-reference: https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494.patch
8+
---
9+
vendor/github.com/antchfx/xpath/query.go | 9 ---------
10+
1 file changed, 9 deletions(-)
11+
12+
diff --git a/vendor/github.com/antchfx/xpath/query.go b/vendor/github.com/antchfx/xpath/query.go
13+
index 4e6c6348..43fb4c24 100644
14+
--- a/vendor/github.com/antchfx/xpath/query.go
15+
+++ b/vendor/github.com/antchfx/xpath/query.go
16+
@@ -704,15 +704,6 @@ type logicalQuery struct {
17+
}
18+
19+
func (l *logicalQuery) Select(t iterator) NodeNavigator {
20+
- // When a XPath expr is logical expression.
21+
- node := t.Current().Copy()
22+
- val := l.Evaluate(t)
23+
- switch val.(type) {
24+
- case bool:
25+
- if val.(bool) == true {
26+
- return node
27+
- }
28+
- }
29+
return nil
30+
}
31+
32+
--
33+
2.45.4
34+

SPECS/telegraf/telegraf.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Summary: agent for collecting, processing, aggregating, and writing metrics.
22
Name: telegraf
33
Version: 1.29.4
4-
Release: 21%{?dist}
4+
Release: 22%{?dist}
55
License: MIT
66
Vendor: Microsoft Corporation
77
Distribution: Mariner
@@ -34,6 +34,7 @@ Patch20: CVE-2025-58190.patch
3434
Patch21: CVE-2026-2303.patch
3535
Patch22: CVE-2026-26014.patch
3636
Patch23: CVE-2025-11065.patch
37+
Patch24: CVE-2026-4645.patch
3738
BuildRequires: golang
3839
BuildRequires: iana-etc
3940
BuildRequires: systemd-devel
@@ -104,6 +105,9 @@ fi
104105
%dir %{_sysconfdir}/%{name}/telegraf.d
105106

106107
%changelog
108+
* Fri Mar 27 2026 Azure Linux Security Servicing Account <azurelinux-security@microsoft.com> - 1.29.4-22
109+
- Patch for CVE-2026-4645
110+
107111
* Tue Feb 17 2026 Akhila Guruju <v-guakhila@microsoft.com> - 1.29.4-21
108112
- Patch CVE-2025-11065
109113

0 commit comments

Comments
 (0)