python3-aiodns: set CVE_PRODUCT and set status for CVE-2025-48945
PATCH 1/2 python3-aiodns: set CVE_PRODUCT and set status for CVE-2025-48945
From: "mark.yang" <[email protected]>
The pypi class default python:aiodns doesn't match how aiodns is tracked in the CVE databases. NVD has no CPE for aiodns yet; the only existing record (CVE-2025-48945) carries aio-libs:aiodns in its CNA affected entry [1], so set that pair.
CVE-2025-48945 itself is a use-after-free in pycares: the GHSA lives in the pycares repository [2] and the affected range "< 4.9.0" uses pycares version numbers (fixed in pycares 4.9.0 [3], we ship 5.0.1). Mark it cpe-incorrect so it doesn't get reported against aiodns.
[1] https://www.cve.org/CVERecord?id=CVE-2025-48945
[2] https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35
[3] https://github.com/saghul/pycares/releases/tag/v4.9.0
--- meta-python/recipes-devtools/python/python3-aiodns_4.0.4.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-python/recipes-devtools/python/python3-aiodns_4.0.4.bb +3 -0
@@ -15,4 +15,7 @@ RDEPENDS:${PN} += " \ python3-pycares \ " +CVE_PRODUCT = "aio-libs:aiodns" +CVE_STATUS[CVE-2025-48945] = "cpe-incorrect: this CVE is for pycares, fixed in pycares 4.9.0" + BBCLASSEXTEND = "native nativesdk"
PATCH 2/2 python3-h11: set CVE_PRODUCT
From: "mark.yang" <[email protected]>
The pypi class default python:h11 doesn't match how h11 is tracked in the CVE databases. NVD has no CPE for it yet; the only existing record (CVE-2025-43859) carries python-hyper:h11 in its CNA affected entry [1], so set that pair.
CVE-2025-43859 (request smuggling) is fixed in 0.16.0, the version we ship, so it resolves as not affected.
[1] https://www.cve.org/CVERecord?id=CVE-2025-43859
--- meta-python/recipes-devtools/python/python3-h11_0.16.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-h11_0.16.0.bb +2 -0
@@ -7,4 +7,6 @@ inherit pypi setuptools3 SRC_URI[sha256sum] = "4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1" +CVE_PRODUCT = "python-hyper:h11" + RDEPENDS:${PN} += "python3-profile"