Skip to contentSkip to conversation

grpc: set status for CVE-2023-33953 and CVE-2024-37168

PATCH New Peter Marko 1 participant 6 messages Jul 20

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 grpc: set status for CVE-2023-33953 and CVE-2024-37168

From: Peter Marko <[email protected]>

CVE-2023-33953 is fixed since 1.56.2 per [1].
FKIE sets "defaultStatus": "unknown" so it needs to be set explicitly.

CVE-2024-37168 description in [2] says grpc-js.
Even if (like FKIE added) grpc core would be affected, it would be in old versions (also listed in [2]).

[1] https://nvd.nist.gov/vuln/detail/CVE-2023-33953
[2] https://nvd.nist.gov/vuln/detail/CVE-2024-37168

---
 meta-oe/recipes-devtools/grpc/grpc_1.80.0.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-devtools/grpc/grpc_1.80.0.bb +3 -0
index 14ead4ccf9..2213331a3e 100644
@@ -66,3 +66,6 @@ FILES:${PN}-compiler += " \
     ${bindir} \
     ${libdir}/libgrpc_plugin_support${SOLIBS} \
     "
+
+CVE_STATUS[CVE-2023-33953] = "fixed-version: Fixed since 1.56.2"
+CVE_STATUS[CVE-2024-37168] = "cpe-incorrect: This CVE is for grps-js"
#1 lore raw

PATCH 2/6 python3-grpcio: set status for CVE-2023-33953 and CVE-2024-37168

From: Peter Marko <[email protected]>

CVE-2023-33953 is fixed since 1.56.2 per [1].
FKIE sets "defaultStatus": "unknown" so it needs to be set explicitly.

CVE-2024-37168 description in [2] says grpc-js.
Even if (like FKIE added) grpc core would be affected, it would be in old versions (also listed in [2]).

[1] https://nvd.nist.gov/vuln/detail/CVE-2023-33953
[2] https://nvd.nist.gov/vuln/detail/CVE-2024-37168

---
 meta-python/recipes-devtools/python/python3-grpcio_1.78.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-grpcio_1.78.0.bb +2 -0
index d9ec337427..867c55096f 100644
@@ -51,3 +51,5 @@ CCACHE_DISABLE = "1"
 
 CVE_PRODUCT += "grpc:grpc"
 CVE_STATUS[CVE-2026-33186] = "cpe-incorrect: the vulnerabilty affects only the go implementation"
+CVE_STATUS[CVE-2023-33953] = "fixed-version: Fixed since 1.56.2"
+CVE_STATUS[CVE-2024-37168] = "cpe-incorrect: This CVE is for grps-js"
#2 lore raw

PATCH 3/6 protobuf: set status for CVE-2024-7254

In reply to Peter Marko

From: Peter Marko <[email protected]>

Version 4.28.2 is correctly set in [1].
Unfortunately also protoc version 28.2 with the same CPE is mentioned which creates a false positive which needs to be handled.

[1] https://github.com/CVEProject/cvelistV5/blob/main/cves/2024/7xxx/CVE-2024-7254.json

---
 meta-oe/recipes-devtools/protobuf/protobuf_6.33.6.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/protobuf/protobuf_6.33.6.bb +2 -0
index 880dd82b1d..6aa858f2fc 100644
@@ -129,3 +129,5 @@ RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'py
 MIPS_INSTRUCTION_SET = "mips"
 
 BBCLASSEXTEND = "native nativesdk"
+
+CVE_STATUS[CVE-2024-7254] = "fixed-version: Fixed since 4.28.2"
#3 lore raw

PATCH 4/6 python3-protobuf: set status for CVE-2024-7254

In reply to Peter Marko

From: Peter Marko <[email protected]>

Version 4.28.2 is correctly set in [1].
Unfortunately also protoc version 28.2 with the same CPE is mentioned which creates a false positive which needs to be handled.

[1] https://github.com/CVEProject/cvelistV5/blob/main/cves/2024/7xxx/CVE-2024-7254.json

---
 meta-python/recipes-devtools/python/python3-protobuf_6.33.6.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-protobuf_6.33.6.bb +2 -0
index 0595ec2a47..e9af4c3cc6 100644
@@ -50,3 +50,5 @@ do_install:append () {
     # https://github.com/python/cpython/issues/122220
     rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/protobuf-*-nspkg.pth
 }
+
+CVE_STATUS[CVE-2024-7254] = "fixed-version: Fixed since 4.28.2"
#4 lore raw

PATCH 5/6 tcpdump: set status for CVE-2024-2397

In reply to Peter Marko

From: Peter Marko <[email protected]>

This CVE is fixed with commit [1] included in release 4.99.5. It is a cherry-pick of commit [2] mentioned in NVD report [3].

cvelistV5 and FKIE list hash as fixed version ("lessThan": "b9811ef"), which causes a false positive thus needs to be handled explicitly.

[1] https://github.com/the-tcpdump-group/tcpdump/commit/e9bff173f9833b5532f3b6dce8c049e955140169
[2] https://github.com/the-tcpdump-group/tcpdump/commit/b9811ef5bb1b7d45a90e042f81f3aaf233c8bcb2
[3] https://nvd.nist.gov/vuln/detail/CVE-2024-2397

---
 meta-networking/recipes-support/tcpdump/tcpdump_4.99.6.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/tcpdump/tcpdump_4.99.6.bb +2 -0
index f1bd32485c..af7e8b6ba4 100644
@@ -52,3 +52,5 @@ do_install:append() {
 do_compile_ptest() {
     oe_runmake buildtest-TESTS
 }
+
+CVE_STATUS[CVE-2024-2397] = "fixed-version: Fixed since 4.99.5"
#5 lore raw

PATCH 6/6 libcoap: set status for CVE-2023-51847

In reply to Peter Marko

From: Peter Marko <[email protected]>

Reuse investigation of Debian security group.
As mentioned by [1], this was never present in any release because it was introduces in 4.3.5 development, however also fixed before release.

[1] https://security-tracker.debian.org/tracker/CVE-2023-51847

---
 meta-networking/recipes-devtools/libcoap/libcoap_4.3.5b.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-devtools/libcoap/libcoap_4.3.5b.bb +1 -0
index 7ea3eba1b0..7252be8b1e 100644
@@ -63,5 +63,6 @@ PACKAGE_BEFORE_PN += "\
 FILES:${PN}-bin = "${bindir}"
 FILES:${PN}-dev += "${datadir}/${BPN}/examples"
 
+CVE_STATUS[CVE-2023-51847] = "fixed-version: both introduced and fixed in 4.3.5"
 CVE_STATUS[CVE-2025-50518] = "disputed: happens only when library is used incorrectly"
 CVE_STATUS[CVE-2026-29013] = "fixed-version: fixed in 4.3.5b"