Skip to contentSkip to conversation

phpmyadmin: ignore CVE-2020-22452

PATCH New Gyorgy Sarvari 1 participant 5 messages Jan 3

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 phpmyadmin: ignore CVE-2020-22452

Details: https://nvd.nist.gov/vuln/detail/CVE-2020-22452

The fix is present in the recipe version (5.1.4)[1]

[1]: https://github.com/phpmyadmin/phpmyadmin/pull/16004/commits/ca42395ee4b2936d3702524f8fb8bec1e9502bc7

---
 meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.1.4.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-webserver/recipes-php/phpmyadmin/phpmyadmin_5.1.4.bb +3 -0
index 0b855735cb..ca114d1f80 100644
@@ -41,3 +41,6 @@ FILES:${PN} = "${datadir}/${BPN} \
                ${sysconfdir}/apache2/conf.d"
 
 RDEPENDS:${PN} += "bash php-cli"
+
+# fix is contained in the recipe version
+CVE_CHECK_IGNORE = "CVE-2020-22452"
#1 lore raw

PATCH 2/5 sassc: ignore CVE-2022-43357

From: Peter Marko <[email protected]>

This CVE is fixed in current libsass recipe version.
So wrapper around it will also not show this problem. It's usual usecase is to be statically linked with libsass which is probably the reason why this is listed as vulnerable component.

[1] links [2] as issue tracker which points to [3] as fix.
[4] as base repository for the recipe is not involved and files from [3] are not present in this repository.

[1] https://nvd.nist.gov/vuln/detail/CVE-2022-43357
[2] https://github.com/sass/libsass/issues/3177
[3] https://github.com/sass/libsass/pull/3184
[4] https://github.com/sass/sassc/

(cherry picked from commit 576b84263bac4dda26d84d116a9e7628a126f866)

Adapted to Kirkstone (CVE_STATUS -> CVE_CHECK_IGNORE)

Kirkstone has also the fixed libsass version (3.6.6), the CVE can be considered fixed.

---
 meta-oe/recipes-support/sass/sassc_git.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-support/sass/sassc_git.bb +3 -0
index 9bb8c76e87..12e201a3d7 100644
@@ -11,4 +11,7 @@ SRCREV = "66f0ef37e7f0ad3a65d2f481eff09d09408f42d0"
 S = "${WORKDIR}/git"
 PV = "3.6.2"
 
+# cpe-incorrect: this is CVE for libsass, not sassc wrapper
+CVE_CHECK_IGNORE = "CVE-2022-43357"
+
 BBCLASSEXTEND = "native"
#2 lore raw

PATCH 3/5 nodejs: ignore CVE-2024-3566 and CVE-2024-36138

In reply to Gyorgy Sarvari

Details: https://nvd.nist.gov/vuln/detail/CVE-2024-3566
https://nvd.nist.gov/vuln/detail/CVE-2024-36138

This vulnerabilities affect Windows only.

---
 meta-oe/recipes-devtools/nodejs/nodejs_16.20.2.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-devtools/nodejs/nodejs_16.20.2.bb +3 -0
index 9326b26421..11e9717c6a 100644
@@ -54,6 +54,9 @@ CVE_CHECK_IGNORE = "CVE-2023-30583 CVE-2023-30584 CVE-2023-30587"
 # the vulnerability was introduced later (with libuv 1.45)
 CVE_CHECK_IGNORE += "CVE-2024-22017"
 
+# this vulnerabilities affect only Windows
+CVE_CHECK_IGNORE += "CVE-2024-3566 CVE-2024-36138"
+
 # v8 errors out if you have set CCACHE
 CCACHE = ""
 
#3 lore raw

PATCH 4/5 nodejs: ignore CVE-2024-36137

In reply to Gyorgy Sarvari

Details: https://nvd.nist.gov/vuln/detail/CVE-2024-36137

The vulnerability affects the permission model, which was introduced[1] in v20 - the recipe version isn't vulerable yet.

[1]: https://github.com/nodejs/node/commit/00c222593e49d817281bc88a322f41f8dca95885

---
 meta-oe/recipes-devtools/nodejs/nodejs_16.20.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/nodejs/nodejs_16.20.2.bb +1 -1
index 11e9717c6a..2a7324a203 100644
@@ -49,7 +49,7 @@ S = "${WORKDIR}/node-v${PV}"
 CVE_PRODUCT = "nodejs node.js"
 
 # the vulnerabilities were introduced in v20
-CVE_CHECK_IGNORE = "CVE-2023-30583 CVE-2023-30584 CVE-2023-30587"
+CVE_CHECK_IGNORE = "CVE-2023-30583 CVE-2023-30584 CVE-2023-30587 CVE-2024-36137"
 
 # the vulnerability was introduced later (with libuv 1.45)
 CVE_CHECK_IGNORE += "CVE-2024-22017"
#4 lore raw

PATCH 5/5 netdata: ignore CVE-2024-32019

In reply to Gyorgy Sarvari

Details: https://nvd.nist.gov/vuln/detail/CVE-2024-32019

The vulnerability affects the ndsudo binary, part of netdata. This binary was introduced in version 1.45.0[1], and the recipe contains v1.34.1 - which is not vulnerable yet.

Ignore the CVE due to this.

[1]: https://github.com/netdata/netdata/commit/0c8b46cbfd05109a45ee4de27f034567569fa3fa

---
 meta-webserver/recipes-webadmin/netdata/netdata_1.34.1.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-webserver/recipes-webadmin/netdata/netdata_1.34.1.bb +3 -0
index 71fb0783b6..516fde6281 100644
@@ -79,3 +79,6 @@ do_install:append() {
 FILES:${PN} += "${localstatedir}/cache/netdata/ ${localstatedir}/lib/netdata/"
 
 RDEPENDS:${PN} = "bash zlib"
+
+# versions <1.45.0 are not vulnerable yet
+CVE_CHECK_IGNORE = "CVE-2024-32019"