diff mbox series

[meta-python,scarthgap,07/12] python3-virtualenv: fix CVE-2026-113716

Message ID 20261124050942.1795310-8-hthakar@cisco.com
State New
Headers show
Series python3-virtualenv: Security fixes | expand

Commit Message

From: Hetvi Thakar <hthakar@cisco.com>

This patch backports the upstream fix in [1], identified by the
upstream security advisory in [2], to virtualenv 20.25.3.
The backport also includes the required directory handling helper.

[1] https://github.com/pypa/virtualenv/commit/554d9f9d4f7758f5cf53f993031e29787f1f74c5
[2] https://github.com/pypa/virtualenv/security/advisories/GHSA-cw65-gx24-rc82

Package each additional upstream prerequisite or correction in its own
embedded patch with its own upstream metadata.

Signed-off-by: Hetvi Thakar <hthakar@cisco.com>
---
 .../python3-virtualenv/CVE-2026-113716.patch  | 117 ++++++++++++++++++
 .../ensure-within-prerequisite.patch          | 107 ++++++++++++++++
 .../python/python3-virtualenv_20.25.3.bb      |   2 +
 3 files changed, 226 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-virtualenv/CVE-2026-113716.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-virtualenv/ensure-within-prerequisite.patch
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-virtualenv/CVE-2026-113716.patch b/meta-python/recipes-devtools/python/python3-virtualenv/CVE-2026-113716.patch
new file mode 100644
index 0000000000..8708bc0f2c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-virtualenv/CVE-2026-113716.patch
@@ -0,0 +1,117 @@ 
+From 554d9f9d4f7758f5cf53f993031e29787f1f74c5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= <gaborjbernat@gmail.com>
+Date: Sat, 17 Oct 2026 03:36:11 -0700
+Subject: [PATCH]