Files
poky/meta/recipes-devtools/python/python3-urllib3_2.2.2.bb
T
Jaipaul Cheernam 21dd4eca33 python3-urllib3: Fix CVE-2026-97689
Backport the upstream fix [1] as mentioned in [2]

[1] https://github.com/urllib3/urllib3/commit/cd770b059b543be29298ea5c52afb0b1b090f5ed
[2] https://nvd.nist.gov/vuln/detail/cve-2026-97689

Testing:
  - test_response.py::test_chunk_size_line_too_long - passed
  - test_response.py::test_chunk_trailer_line_length (6 cases) - passed
  - test_socketlevel.py::test_chunked_size_line_too_long_does_not_buffer - passed
  - Full test_response.py: 161 passed, 45 skipped (no regressions)

(From OE-Core rev: cd8febbc4faace79884b8a01515cb898731d8084)

Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Paul Barker <paul@pbarker.dev>
2026-11-04 10:20:38 +00:00

33 lines
921 B
BlitzBasic

SUMMARY = "Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more"
HOMEPAGE = "https://github.com/shazow/urllib3"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=52d273a3054ced561275d4d15260ecda"
SRC_URI[sha256sum] = "dd505485549a7a552833da5e6063639d0d177c04f23bc3864e41e5dc5f612168"
inherit pypi python_hatchling
SRC_URI += "file://CVE-2025-50181.patch \
file://CVE-2025-66418.patch \
file://CVE-2025-66471.patch \
file://CVE-2026-21441.patch \
file://CVE-2026-44431.patch \
file://CVE-2026-97689.patch \
"
RDEPENDS:${PN} += "\
python3-certifi \
python3-cryptography \
python3-email \
python3-idna \
python3-json \
python3-netclient \
python3-pyopenssl \
python3-threading \
python3-logging \
"
CVE_PRODUCT = "urllib3"
BBCLASSEXTEND = "native nativesdk"