Skip to contentSkip to conversation

cmake: whitelist CVE-2016-10642

PATCH In review Ross Burton 2 participants 3 messages Sep 8, 2020 – Sep 9, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cmake: whitelist CVE-2016-10642

This CVE is specific to the npm package that can install cmake, so isn't relevant to our cmake recipe.

---
 meta/recipes-devtools/cmake/cmake.inc | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-devtools/cmake/cmake.inc +4 -0
index 1334977225..fa1b818ae4 100644
@@ -25,3 +25,7 @@ SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
 SRC_URI[sha256sum] = "5d4e40fc775d3d828c72e5c45906b4d9b59003c9433ff1b36a1cb552bbd51d7e"
 
 UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar"
+
+# This is specific to the npm package that installs cmake, so isn't
+# relevant to OpenEmbedded
+CVE_CHECK_WHITELIST += "CVE-2016-10642"
Signature · 1 line
2.28.0
#1 lore raw

Is this also suitable for dunfell?

Steve

Quoted 25 lines · Ross Burton

This CVE is specific to the npm package that can install cmake, so isn't relevant to our cmake recipe.

---
 meta/recipes-devtools/cmake/cmake.inc | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-devtools/cmake/cmake.inc +4 -1
index 1334977225..fa1b818ae4 100644
@@ -25,3 +25,7 @@ SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
 SRC_URI[sha256sum] = "5d4e40fc775d3d828c72e5c45906b4d9b59003c9433ff1b36a1cb552bbd51d7e"
 
 UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar"
+
+# This is specific to the npm package that installs cmake, so isn't
+# relevant to OpenEmbedded
+CVE_CHECK_WHITELIST += "CVE-2016-10642"
--

2.28.0

#2 lore raw

Absolutely.

Ross

Quoted 31 lines · Steve Sakoman

Is this also suitable for dunfell?

Steve

Quoted 25 lines · Ross Burton

This CVE is specific to the npm package that can install cmake, so isn't relevant to our cmake recipe.

---
 meta/recipes-devtools/cmake/cmake.inc | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-devtools/cmake/cmake.inc +4 -1
index 1334977225..fa1b818ae4 100644
@@ -25,3 +25,7 @@ SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
 SRC_URI[sha256sum] = "5d4e40fc775d3d828c72e5c45906b4d9b59003c9433ff1b36a1cb552bbd51d7e"
 
 UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar"
+
+# This is specific to the npm package that installs cmake, so isn't
+# relevant to OpenEmbedded
+CVE_CHECK_WHITELIST += "CVE-2016-10642"
--

2.28.0