Skip to content

Commit 6ff4d35

Browse files
authored
kubeflow-pipelines: fix urllib3 CVEs (#57697)
## Summary - Fixed urllib3 CVE-2025-50182 and CVE-2025-50181 by upgrading from 1.26.16 to 2.5.0 - Updated google-auth from 2.23.0 to 2.40.3 to resolve dependency conflicts - Incremented package epoch from 3 to 4 to trigger rebuild ## Changes - Modified `fix-CVE-urllib3.patch` to update urllib3 to version 2.5.0 - Added `sed` command to replace google-auth with compatible version 2.40.3 - Updated epoch in package metadata ## Testing - Package builds successfully with resolved dependency conflicts - urllib3 CVEs are addressed with the 2.5.0 upgrade ## Notes The protobuf CVE (CVE-2025-4565) affecting version 3.20.3 will be addressed separately via advisory, as it requires a major version upgrade (3.x → 4.x) that upstream kubeflow-pipelines has not implemented yet. --------- Signed-off-by: jamie-albert <[email protected]>
1 parent 9eb7a42 commit 6ff4d35

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

kubeflow-pipelines.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package:
22
name: kubeflow-pipelines
33
version: "2.5.0"
4-
epoch: 3
4+
epoch: 4
55
description: Machine Learning Pipelines for Kubeflow
66
checks:
77
disabled:
@@ -17,6 +17,7 @@ environment:
1717
packages:
1818
- argo-cd
1919
- eslint
20+
- gcc-14-default
2021
- go-licenses
2122
- jq
2223
- kubectl
@@ -105,6 +106,9 @@ subpackages:
105106
# Patch GHSA-jfmj-5v4g-7637
106107
sed -i 's|zipp==3.15.0|zipp==3.19.1|g' requirements.txt
107108
109+
# google-auth: upgrade to support urllib3 2.x (fixes dependency conflict)
110+
sed -i 's|google-auth==2.23.0|google-auth==2.40.3|g' requirements.txt
111+
108112
# GHSA-79v4-65xg-pq4g
109113
echo "cryptography==44.0.1" >> requirements.txt
110114

kubeflow-pipelines/fix-CVE-urllib3.patch

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
From 2850fa4031ff3adfa8af50eb6d22d16557a7e09e Mon Sep 17 00:00:00 2001
22
From: Debasish Biswas <[email protected]>
33
Date: Fri, 17 Jan 2025 19:11:47 +0530
4-
Subject: [PATCH 3/5] Remedieate(CVE): GHSA-34jh-p97f-mpxf
4+
Subject: [PATCH 3/5] fix(CVE): update urllib3 to fix CVE-2025-50181/50182
5+
6+
Updated urllib3 to 2.5.0 to fix urllib3 CVEs GHSA-48p4-8xcf-vxj5 and GHSA-pq67-6m6q-mj2v.
57

68
Signed-off-by: Debasish Biswas <[email protected]>
79
---
@@ -17,7 +19,7 @@ index ba27bcb21..85f7f8cbe 100644
1719
# importlib-metadata
1820
# kfp
1921
-urllib3==1.26.16
20-
+urllib3==1.26.19
22+
+urllib3==2.5.0
2123
# via
2224
# google-auth
2325
# kfp

0 commit comments

Comments
 (0)