Skip to contentSkip to conversation

nodejs: ignore fixed CVEs

PATCH New Gyorgy Sarvari 1 participant 4 messages Apr 6

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 nodejs: ignore fixed CVEs

All these CVEs are fixed in v22.22.2[1], except for CVE-2026-21712, which does not affect v22 series, because it was introduced in a later version[2]. All these CVEs are tracked without version info by NVD at the time of creating this patch.

[1]: https://github.com/nodejs/node/blob/v22.x/doc/changelogs/CHANGELOG_V22.md
[2]: https://nodejs.org/en/blog/vulnerability/march-2026-security-releases

---
 meta-oe/recipes-devtools/nodejs/nodejs_22.22.2.bb | 7 +++++++
 1 file changed, 7 insertions(+)
meta-oe/recipes-devtools/nodejs/nodejs_22.22.2.bb +7 -0
index 8bd5f008af..e6dbc866a1 100644
@@ -214,3 +214,10 @@ python __anonymous () {
 }
 
 BBCLASSEXTEND = "native"
+
+CVE_STATUS[CVE-2026-21712] = "cpe-incorrect: only v24 and v25 are affected"
+CVE_STATUS[CVE-2026-21713] = "fixed-version: fixed since v22.22.2"
+CVE_STATUS[CVE-2026-21714] = "fixed-version: fixed since v22.22.2"
+CVE_STATUS[CVE-2026-21715] = "fixed-version: fixed since v22.22.2"
+CVE_STATUS[CVE-2026-21716] = "fixed-version: fixed since v22.22.2"
+CVE_STATUS[CVE-2026-21717] = "fixed-version: fixed since v22.22.2"
#1 lore raw

PATCH 2/4 python3-aiohttp: upgrade 3.13.4 -> 3.13.5

Changelog:
Skipped the duplicate singleton header check in lax mode (the default for response parsing). In strict mode (request parsing, or -X dev), all RFC 9110 singletons are still enforced.

---
 .../{python3-aiohttp_3.13.4.bb => python3-aiohttp_3.13.5.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-aiohttp_3.13.4.bb => python3-aiohttp_3.13.5.bb} (90%)
meta-python/recipes-devtools/python/python3-aiohttp_3.13.5.bb renamed from meta-python/recipes-devtools/python/python3-aiohttp_3.13.4.bb +1 -1
similarity index 90%
rename from meta-python/recipes-devtools/python/python3-aiohttp_3.13.4.bb
rename to meta-python/recipes-devtools/python/python3-aiohttp_3.13.5.bb
index 7416b87347..7e6f80102b 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/aio-libs/aiohttp"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=748073912af33aa59430d3702aa32d41"
 
-SRC_URI[sha256sum] = "d97a6d09c66087890c2ab5d49069e1e570583f7ac0314ecf98294c1b6aaebd38"
+SRC_URI[sha256sum] = "9d98cc980ecc96be6eb4c1994ce35d28d8b1f5e5208a23b421187d1209dbb7d1"
 
 CVE_PRODUCT = "aiohttp"
 
#2 lore raw

PATCH 3/4 python3-aiohttp: mark fixed CVEs are patched

In reply to Gyorgy Sarvari

All these CVEs have been fixed already, the relevant NVD reports mention it explicitly that 3.13.4 is fixed, along with referencing the commit that fixes the respective vulnerabilities. However each of these are tracked without version info by NVD -.-

Due to this, mark them explicitly as patched.

Relevant reports:
https://nvd.nist.gov/vuln/detail/CVE-2026-22815
https://nvd.nist.gov/vuln/detail/CVE-2026-34513
https://nvd.nist.gov/vuln/detail/CVE-2026-34514
https://nvd.nist.gov/vuln/detail/CVE-2026-34515
https://nvd.nist.gov/vuln/detail/CVE-2026-34516
https://nvd.nist.gov/vuln/detail/CVE-2026-34517
https://nvd.nist.gov/vuln/detail/CVE-2026-34518
https://nvd.nist.gov/vuln/detail/CVE-2026-34519
https://nvd.nist.gov/vuln/detail/CVE-2026-34520
https://nvd.nist.gov/vuln/detail/CVE-2026-34525

---
 .../recipes-devtools/python/python3-aiohttp_3.13.5.bb        | 5 +++++
 1 file changed, 5 insertions(+)
meta-python/recipes-devtools/python/python3-aiohttp_3.13.5.bb +5 -0
index 7e6f80102b..f3a0fbf557 100644
@@ -7,6 +7,11 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=748073912af33aa59430d3702aa32d41"
 SRC_URI[sha256sum] = "9d98cc980ecc96be6eb4c1994ce35d28d8b1f5e5208a23b421187d1209dbb7d1"
 
 CVE_PRODUCT = "aiohttp"
+CVE_STATUS_GROUPS = "CVE_AIOHTTP_FIX_3_13_4"
+CVE_AIOHTTP_FIX_3_13_4[status] = "fixed-version: fixed in 3.13.4"
+CVE_AIOHTTP_FIX_3_13_4 = "CVE-2026-22815 CVE-2026-34513 CVE-2026-34514 \
+CVE-2026-34515 CVE-2026-34516 CVE-2026-34517 CVE-2026-34518 CVE-2026-34519 \
+CVE-2026-34520 CVE-2026-34525"
 
 inherit python_setuptools_build_meta pypi 
 
#3 lore raw

PATCH 4/4 strongswan: mark CVE-2026-25075 as patched

In reply to Gyorgy Sarvari

The CVE is fixed in the current version already, however NVD tracks it without version - suppress the report explicitly.

---
 meta-networking/recipes-support/strongswan/strongswan_6.0.5.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/strongswan/strongswan_6.0.5.bb +2 -0
index c3909acff2..405080070c 100644
@@ -189,3 +189,5 @@ SYSTEMD_SERVICE:${PN} = " \
     ${@bb.utils.contains('PACKAGECONFIG', 'swanctl', '${BPN}.service', '', d)} \
     ${@bb.utils.contains('PACKAGECONFIG', 'charon', '${BPN}-starter.service', '', d)} \
 "
+
+CVE_STATUS[CVE-2026-25075] = "fixed-version: fixed in 6.0.5"