Skip to content

Commit bc53f7f

Browse files
CBL-Mariner-Botazurelinux-securityjslobodzian
authored
[AUTO-CHERRYPICK] [AutoPR- Security] Patch telegraf for CVE-2026-4645 [HIGH] - branch 3.0-dev (#16335)
Co-authored-by: Azure Linux Security Servicing Account <azurelinux-security@microsoft.com> Co-authored-by: jslobodzian <joslobo@microsoft.com>
1 parent 03183fd commit bc53f7f

File tree

2 files changed

+41
-3
lines changed

2 files changed

+41
-3
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 77ef55ce21fd12b8bd995e1eace449ca6cf8087a 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 fe6f4885..14177d2f 100644
14+
--- a/vendor/github.com/antchfx/xpath/query.go
15+
+++ b/vendor/github.com/antchfx/xpath/query.go
16+
@@ -965,15 +965,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: 7 additions & 3 deletions
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.31.0
4-
Release: 16%{?dist}
4+
Release: 17%{?dist}
55
License: MIT
66
Vendor: Microsoft Corporation
77
Distribution: Azure Linux
@@ -31,9 +31,10 @@ Patch16: CVE-2025-47911.patch
3131
Patch17: CVE-2025-58190.patch
3232
Patch18: CVE-2026-2303.patch
3333
Patch19: CVE-2026-26014.patch
34+
Patch20: CVE-2026-4645.patch
3435
# Patch added based on customer request https://microsoft.visualstudio.com/OS/_workitems/edit/61041768
3536
# Fix was introduced 1.37.2, this patch can be removed once we update to 1.37.2 or later
36-
Patch20: cisco_telegraf_bug61041768.patch
37+
Patch21: cisco_telegraf_bug61041768.patch
3738

3839
BuildRequires: golang
3940
BuildRequires: systemd-devel
@@ -98,9 +99,12 @@ fi
9899
%dir %{_sysconfdir}/%{name}/telegraf.d
99100

100101
%changelog
101-
* Fri Feb 27 2026 Sindhu Karri <lakarri@microsoft.com> - 1.31.0-16
102+
* Fri Mar 27 2026 Sindhu Karri <lakarri@microsoft.com> - 1.31.0-17
102103
- Added patch to fix the issue reported in https://microsoft.visualstudio.com/OS/_workitems/edit/61041768
103104
Fix in telegraf to support cisco telemetry plugin that collects telemetry data from cisco NXOS switches.
105+
106+
* Fri Mar 27 2026 Azure Linux Security Servicing Account <azurelinux-security@microsoft.com> - 1.31.0-16
107+
- Patch for CVE-2026-4645
104108

105109
* Fri Feb 27 2026 Azure Linux Security Servicing Account <azurelinux-security@microsoft.com> - 1.31.0-15
106110
- Patch for CVE-2026-26014, CVE-2026-2303, CVE-2025-58190, CVE-2025-47911

0 commit comments

Comments
 (0)