Skip to contentSkip to conversation

python3-wheel: fix CVE_PRODUCT

PATCH In review [email protected] 2 participants 4 messages Aug 9 – Aug 10

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 python3-wheel: fix CVE_PRODUCT

From: Tim Orling <[email protected]>

The proper CVE_PRODUCT is "wheel_project:wheel".

BEFORE: python:wheel -> 0 CVEs
AFTER: wheel_project:wheel -> 2 CVEs

* Already patched at 0.47.0.
- CVE-2022-40898 — DoS in wheel CLI via malicious input. Affects <0.38.1.
- CVE-2026-24049 — malicious wheel file can modify permissions of arbitrary

    files. Affects 0.40.0–<0.46.2.

AI-Generated: Claude Sonnet 5

---
 meta/recipes-devtools/python/python3-wheel_0.47.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-wheel_0.47.0.bb +2 -0
index 88b54c2ee2..4320442729 100644
@@ -8,6 +8,8 @@ SRC_URI[sha256sum] = "cc72bd1009ba0cf63922e28f94d9d83b920aa2bb28f798a31d0691b02f
 
 inherit python_flit_core pypi ptest-python-pytest
 
+CVE_PRODUCT = "wheel_project:wheel"
+
 RDEPENDS:${PN} += "python3-packaging"
 
 # One test is skipped but requires the "full" python3-flit, not just python3-flit-core
Signature · 1 line
2.47.3
#1 lore raw

PATCH 2/5 python3-attrs: fix CVE_PRODUCT

From: Tim Orling <[email protected]>

No new CVEs are caught, but attrs_project:attrs matches the CPE upstream.

AI-Generated: Claude Sonnet 5

---
 meta/recipes-devtools/python/python3-attrs_26.1.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-attrs_26.1.0.bb +2 -0
index 03621e41a6..1c28809728 100644
@@ -7,6 +7,8 @@ SRC_URI[sha256sum] = "d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c98
 
 inherit pypi ptest-python-pytest python_hatchling
 
+CVE_PRODUCT = "attrs_project:attrs"
+
 DEPENDS += " \
     python3-hatch-vcs-native \
     python3-hatch-fancy-pypi-readme-native \
Signature · 1 line
2.47.3
#2 lore raw

Re: [OE-core] [PATCH 2/5] python3-attrs: fix CVE_PRODUCT

This might not be correct. Hold off until we verify the CPE upstream.

Quoted 40 lines · Tim Orling via lists.openembedded.org

From: Tim Orling <[email protected]>

No new CVEs are caught, but attrs_project:attrs matches the CPE upstream.

AI-Generated: Claude Sonnet 5

---
 meta/recipes-devtools/python/python3-attrs_26.1.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-attrs_26.1.0.bb +0 -0
index 03621e41a6..1c28809728 100644
@@ -7,6 +7,8 @@ SRC_URI[sha256sum] =

"d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c98

inherit pypi ptest-python-pytest python_hatchling

meta/recipes-devtools/python/python3-attrs_26.1.0.bb +2 -1
+CVE_PRODUCT = "attrs_project:attrs"
+
 DEPENDS += " \
     python3-hatch-vcs-native \
     python3-hatch-fancy-pypi-readme-native \
--

2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#243084):
https://lists.openembedded.org/g/openembedded-core/message/243084
Mute This Topic: https://lists.openembedded.org/mt/120677496/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

PATCH 3/5 python3-babel: fix CVE_PRODUCT

In reply to [email protected]

From: Tim Orling <[email protected]>

Recipe (PV): python3-babel (2.18.0)
Before -> After: python:babel -> pocoo:babel
Newly caught CVEs: CVE-2021-42771 (locale .dat deserialization RCE)
Status: patched (fixed 2.9.1)

AI-Generated: Claude Sonnet 5

---
 meta/recipes-devtools/python/python3-babel_2.18.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-babel_2.18.0.bb +2 -0
index b0abb2c62e..26847372bf 100644
@@ -7,6 +7,8 @@ SRC_URI[sha256sum] = "b80b99a14bd085fcacfa15c9165f651fbb3406e66cc603abf11c575093
 
 inherit pypi setuptools3
 
+CVE_PRODUCT = "pocoo:babel"
+
 S = "${UNPACKDIR}/babel-${PV}"
 
 CLEANBROKEN = "1"
Signature · 1 line
2.47.3