).
++ //
++ // To avoid this, we check that the last non-bracket character of the tag
++ // (z.raw.end-2) isn't the same character as the last non-quote character of
++ // the last attribute of the tag (z.pendingAttr[1].end-1), if the tag has
++ // attributes.
++ nAttrs := len(z.attr)
++ if z.err == nil && z.buf[z.raw.end-2] == '/' && (nAttrs == 0 || z.raw.end-2 != z.attr[nAttrs-1][1].end-1) {
+ return SelfClosingTagToken
+ }
+ return StartTagToken
+--
+2.34.1
+
diff --git a/SPECS/cri-tools/cri-tools.spec b/SPECS/cri-tools/cri-tools.spec
index 0809f998c4b..4b383ac52d6 100644
--- a/SPECS/cri-tools/cri-tools.spec
+++ b/SPECS/cri-tools/cri-tools.spec
@@ -7,7 +7,7 @@
Summary: CRI tools
Name: cri-tools
Version: 1.29.0
-Release: 6%{?dist}
+Release: 7%{?dist}
License: Apache-2.0
Vendor: Microsoft Corporation
Distribution: Mariner
@@ -18,6 +18,7 @@ Patch0: CVE-2024-21626.patch
Patch1: CVE-2023-45288.patch
Patch2: CVE-2024-24786.patch
Patch3: CVE-2024-45338.patch
+Patch4: CVE-2025-22872.patch
BuildRequires: glib-devel
BuildRequires: glibc-devel
BuildRequires: golang
@@ -48,6 +49,9 @@ install -p -m 755 -t %{buildroot}%{_bindir} "${BUILD_FOLDER}/critest"
%{_bindir}/critest
%changelog
+* Thu May 22 2025 Aninda Pradhan