Skip to contentSkip to conversation

package/chartjs: move 'v' version prefix out of CHARTJS_VERSION

PATCH New Thomas De Schampheleire 2 participants 6 messages Jan 19, 2021 – Feb 4, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/chartjs: move 'v' version prefix out of CHARTJS_VERSION

From: Thomas De Schampheleire <[email protected]>

chartjs 2.9.3 has a security vulnerability (CVE-2020-7746) which is not detected by the CVE scripts, presumably because our version variable starts with a 'v'.

Move that 'v' prefix out of the version variable to fix that.

---
 package/chartjs/chartjs.hash | 2 +-
 package/chartjs/chartjs.mk   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
package/chartjs/chartjs.hash +1 -1
index d2426ea614..a029d16ab1 100644
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256	8079d8fd39131fcfaec33f1c7799412bcf8e051e25b10bd6e37fc16159417aa1  chartjs-v2.9.3.tar.gz
+sha256	8079d8fd39131fcfaec33f1c7799412bcf8e051e25b10bd6e37fc16159417aa1  chartjs-2.9.3.tar.gz
 sha256	7b43caae91f31b18dc81fae6e0f7aa1acbecaa6d84e3249905cbe15308307d67  LICENSE.md
package/chartjs/chartjs.mk +2 -2
index 171e0a4a7c..960b3e24af 100644
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-CHARTJS_VERSION = v2.9.3
-CHARTJS_SITE = $(call github,chartjs,Chart.js,$(CHARTJS_VERSION))
+CHARTJS_VERSION = 2.9.3
+CHARTJS_SITE = $(call github,chartjs,Chart.js,v$(CHARTJS_VERSION))
 CHARTJS_LICENSE = MIT
 CHARTJS_LICENSE_FILES = LICENSE.md
 
Signature · 1 line
2.26.2
#1 lore raw

PATCH 2/2 package/chartjs: security bump to 2.9.4

From: Joeri Barbarien <[email protected]>

CVE-2020-7746 (https://nvd.nist.gov/vuln/detail/CVE-2020-7746)

The options parameter is not properly sanitized when it is processed. When the options are processed, the existing options (or the defaults options) are deeply merged with provided options. However, during this operation, the keys of the object being set are not checked, leading to a prototype pollution.

---
 package/chartjs/chartjs.hash | 2 +-
 package/chartjs/chartjs.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/chartjs/chartjs.hash +1 -1
index a029d16ab1..de4d6d4ebf 100644
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256	8079d8fd39131fcfaec33f1c7799412bcf8e051e25b10bd6e37fc16159417aa1  chartjs-2.9.3.tar.gz
+sha256	9ef3697e279a585c79730f35dba16ad4e24ddeed49a150adb341c31f191fb78e  chartjs-2.9.4.tar.gz
 sha256	7b43caae91f31b18dc81fae6e0f7aa1acbecaa6d84e3249905cbe15308307d67  LICENSE.md
package/chartjs/chartjs.mk +1 -1
index 960b3e24af..82c86dc6cc 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-CHARTJS_VERSION = 2.9.3
+CHARTJS_VERSION = 2.9.4
 CHARTJS_SITE = $(call github,chartjs,Chart.js,v$(CHARTJS_VERSION))
 CHARTJS_LICENSE = MIT
 CHARTJS_LICENSE_FILES = LICENSE.md
Signature · 1 line
2.26.2
#2 lore raw

PATCH 2/2 package/chartjs: security bump to 2.9.4

Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas De Schampheleire <[email protected]> writes:

From: Joeri Barbarien <[email protected]> CVE-2020-7746 (https://nvd.nist.gov/vuln/detail/CVE-2020-7746)

Quoted 7 lines

The options parameter is not properly sanitized when it is processed. When the options are processed, the existing options (or the defaults options) are deeply merged with provided options. However, during this operation, the keys of the object being set are not checked, leading to a prototype pollution.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 2/2 package/chartjs: security bump to 2.9.4

In reply to Thomas De Schampheleire
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas De Schampheleire <[email protected]> writes:

From: Joeri Barbarien <[email protected]> CVE-2020-7746 (https://nvd.nist.gov/vuln/detail/CVE-2020-7746)

Quoted 7 lines

The options parameter is not properly sanitized when it is processed. When the options are processed, the existing options (or the defaults options) are deeply merged with provided options. However, during this operation, the keys of the object being set are not checked, leading to a prototype pollution.

Committed to 2020.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

PATCH 1/2 package/chartjs: move 'v' version prefix out of CHARTJS_VERSION

In reply to Thomas De Schampheleire
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas De Schampheleire <[email protected]> writes:

From: Thomas De Schampheleire <[email protected]> chartjs 2.9.3 has a security vulnerability (CVE-2020-7746) which is not detected by the CVE scripts, presumably because our version variable starts with a 'v'.

Move that 'v' prefix out of the version variable to fix that.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw

PATCH 1/2 package/chartjs: move 'v' version prefix out of CHARTJS_VERSION

In reply to Thomas De Schampheleire
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas De Schampheleire <[email protected]> writes:

From: Thomas De Schampheleire <[email protected]> chartjs 2.9.3 has a security vulnerability (CVE-2020-7746) which is not detected by the CVE scripts, presumably because our version variable starts with a 'v'.

Move that 'v' prefix out of the version variable to fix that.

Committed to 2020.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard