mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-09-22 11:00:49 +00:00
python3-aiohttp: fix CVE-2025-69224
This patch applies the reviewed upstream fix commits shown in [1] and [2]. The advisory identifying the fix is referenced in [3]. The generated aiohttp/_http_parser.c changes are omitted. Add python3-cython-native and regenerate the C source from the patched _http_parser.pyx during do_configure. [1] https://github.com/aio-libs/aiohttp/commit/32677f2adfd907420c078dda6b79225c6f4ebce0 [2] https://github.com/aio-libs/aiohttp/commit/5affd64f86d28a16a8f8e6fea2d217c99bf7831f [3] https://nvd.nist.gov/vuln/detail/CVE-2025-69224 Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com> Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
This commit is contained in:
@@ -8,6 +8,7 @@ SRC_URI[sha256sum] = "edea7d15772ceeb29db4aff55e482d4bcfb6ae160ce144f2682de02f6d
|
||||
|
||||
SRC_URI += "file://CVE-2024-52304.patch \
|
||||
file://CVE-2025-53643.patch \
|
||||
file://CVE-2025-69224.patch \
|
||||
file://CVE-2025-69225.patch \
|
||||
file://CVE-2025-69226.patch \
|
||||
file://CVE-2025-69228.patch \
|
||||
@@ -18,6 +19,15 @@ CVE_STATUS[CVE-2026-34515] = "not-applicable-platform: Vulnerability only affect
|
||||
PYPI_PACKAGE = "aiohttp"
|
||||
inherit python_setuptools_build_meta pypi
|
||||
|
||||
DEPENDS += "python3-cython-native"
|
||||
|
||||
do_configure:prepend() {
|
||||
cython3 -3 -Werror \
|
||||
-I ${S}/aiohttp \
|
||||
-o ${S}/aiohttp/_http_parser.c \
|
||||
${S}/aiohttp/_http_parser.pyx
|
||||
}
|
||||
|
||||
RDEPENDS:${PN} = "\
|
||||
python3-aiohappyeyeballs \
|
||||
python3-aiosignal \
|
||||
|
||||
Reference in New Issue
Block a user