diff mbox series

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

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

Commit Message

From: Hetvi Thakar <hthakar@cisco.com>

This patch applies the upstream fix as referenced in [2], using the
commit shown in [1]. Adapt launcher generation and pip-seeder repair to virtualenv 20.25.3.
Include the safe RECORD-writing correction from [3], using the helper
provided by the CVE-2026-113721 backport.

[1] https://github.com/pypa/virtualenv/commit/2519941bed33ee0d3ac99277f67913e439e476a9
[2] https://github.com/pypa/virtualenv/security/advisories/GHSA-c978-59m8-c77v
[3] https://github.com/pypa/virtualenv/commit/3598e201f6f044e389136b2347a8a919ac03c5f4

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-113722.patch  | 207 ++++++++++++++++++
 .../seed-record-exclusive-write.patch         |  48 ++++
 .../python/python3-virtualenv_20.25.3.bb      |   2 +
 3 files changed, 257 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-virtualenv/CVE-2026-113722.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-virtualenv/seed-record-exclusive-write.patch
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-virtualenv/CVE-2026-113722.patch b/meta-python/recipes-devtools/python/python3-virtualenv/CVE-2026-113722.patch
new file mode 100644
index 0000000000..b70f63a60c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-virtualenv/CVE-2026-113722.patch
@@ -0,0 +1,207 @@ 
+From 2519941bed33ee0d3ac99277f67913e439e476a9 Mon Sep 17 00:00:00 2001
+From: Bernát Gábor <gaborjbernat@gmail.com>
+Date: Sat, 17 Oct 2026 03:41:16 -0700
+Subject: [PATCH]