Skip to contentSkip to conversation

python3-werkzeug: upgrade 3.1.4 -> 3.1.5

PATCH New Gyorgy Sarvari 1 participant 4 messages Jan 19

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 python3-werkzeug: upgrade 3.1.4 -> 3.1.5

Contains fix for CVE-2026-21860

Changelog:
- safe_join on Windows does not allow more special device names, regardless of extension or surrounding spaces.
- The multipart form parser handles a \r\n sequence at a chunk boundary. This fixes the previous attempt, which caused incorrect content lengths.
- Fix AttributeError when initializing DebuggedApplication with pin_security=False.

---
 .../{python3-werkzeug_3.1.4.bb => python3-werkzeug_3.1.5.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-werkzeug_3.1.4.bb => python3-werkzeug_3.1.5.bb} (90%)
meta-python/recipes-devtools/python/python3-werkzeug_3.1.5.bb renamed from meta-python/recipes-devtools/python/python3-werkzeug_3.1.4.bb +1 -1
similarity index 90%
rename from meta-python/recipes-devtools/python/python3-werkzeug_3.1.4.bb
rename to meta-python/recipes-devtools/python/python3-werkzeug_3.1.5.bb
index 0886dbfef1..1df88b78d0 100644
@@ -10,7 +10,7 @@ HOMEPAGE = "https://werkzeug.palletsprojects.com"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dc88300786f1c214c1e9827a5229462"
 
-SRC_URI[sha256sum] = "cd3cd98b1b92dc3b7b3995038826c68097dcb16f9baa63abe35f20eafeb9fe5e"
+SRC_URI[sha256sum] = "6a548b0e88955dd07ccb25539d7d0cc97417ee9e179677d22c7041c8f078ce67"
 
 CVE_PRODUCT = "werkzeug"
 
#1 lore raw

PATCH 2/4 python3-py: ignore CVE-2022-42969

Details: https://nvd.nist.gov/vuln/detail/CVE-2022-42969

Upstream could not reproduce the issue.
The vulnerability has currently the "disputed" flag in the NVD database, and Github has revoked their related advisory[1].

Ignore this CVE due to this.

[1]: https://github.com/advisories/GHSA-w596-4wvx-j9j6

---
 meta-python/recipes-devtools/python/python3-py_1.11.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-py_1.11.0.bb +1 -0
index 143f7ec555..61f3873b4c 100644
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9"
 SRC_URI[sha256sum] = "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"
 
 CVE_PRODUCT = "py"
+CVE_STATUS[CVE-2022-42969] = "disputed: upstream could not reproduce it, github also revoked the advisory"
 
 DEPENDS += "python3-setuptools-scm-native"
 
#2 lore raw

PATCH 3/4 python3-lief: upgrade 0.17.1 -> 0.17.2

In reply to Gyorgy Sarvari

Contains fix for CVE-2025-15504

Changelog:
- Differentiate Mach-O FAT magic bytes and Java class
- Fix MinGW compilation for some configuration
- Fix alignment issue when rebuilding PE relocations
- Fix infinite loop when processing v2 dynamic relocation
- Ensure that added DYN ELF sections are properly aligned
- Fix GnuHash null dereference
- Fix strong performance issue when parsing certain Mach-O

---
 .../python/{python3-lief_0.17.1.bb => python3-lief_0.17.2.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-lief_0.17.1.bb => python3-lief_0.17.2.bb} (95%)
meta-python/recipes-devtools/python/python3-lief_0.17.2.bb renamed from meta-python/recipes-devtools/python/python3-lief_0.17.1.bb +1 -1
similarity index 95%
rename from meta-python/recipes-devtools/python/python3-lief_0.17.1.bb
rename to meta-python/recipes-devtools/python/python3-lief_0.17.2.bb
index de6390d210..e7de6b6d3b 100644
@@ -5,7 +5,7 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=9ab5db472ff936b441055522f5000547"
 SECTION = "libs"
 
-SRCREV = "fe54643fe3d7a699c68b164dae87afb1eb059342"
+SRCREV = "aa2b617f47c2f75fca9ff00b146dabbaf1b9f422"
 SRC_URI = " \
     git://github.com/lief-project/LIEF.git;protocol=https;branch=release/0.17.x;tag=${PV} \
     file://0001-build-requirements.txt-Allow-newer-versions.patch \
#3 lore raw

PATCH 4/4 python3-lief: mark CVE-2025-15504 patched

In reply to Gyorgy Sarvari

Details: https://nvd.nist.gov/vuln/detail/CVE-2025-15504

The vulnerability is patched in v0.17.2, however NVD is currently tracking the CVE without any version info (or more like with out any CPE info)

---
 meta-python/recipes-devtools/python/python3-lief_0.17.2.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-lief_0.17.2.bb +1 -0
index e7de6b6d3b..44b4976ab1 100644
@@ -13,6 +13,7 @@ SRC_URI = " \
 "
 
 CVE_PRODUCT = "lief"
+CVE_STATUS[CVE-2025-15504] = "fixed-version: the vulnerability is fixed since v0.17.2"
 
 PEP517_SOURCE_PATH = "${S}/api/python"