Your message dated Sat, 05 Dec 2020 11:02:00 +0000 with message-id <b70f86aac27195271a9b5212c7acc936da6ff100.camel@adam-barratt.org.uk> and subject line Closing bugs for updates in 10.7 point release has caused the Debian Bug report #972903, regarding buster-pu: package node-pathval/1.1.0-3+deb10u1 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 972903: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972903 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: buster-pu: package node-pathval/1.1.0-3+deb10u1
- From: Xavier Guimard <yadd@debian.org>
- Date: Mon, 26 Oct 2020 04:49:30 +0100
- Message-id: <160368417093.3955920.8563906041556516565.reportbug@deb007.xnr.fr>
Package: release.debian.org Severity: normal Tags: buster User: release.debian.org@packages.debian.org Usertags: pu [ Reason ] node-pathval is vulnerable to a prototype pollution (CVE-2020-7751, #972895) [ Impact ] Little security risk [ Tests ] The same patch is applied to debian/sid (same version) and tests are enabled (and succeeds of course) [ Risks ] No risk, patch just adds a check [ Checklist ] [X] *all* changes are documented in the d/changelog [X] I reviewed all changes and I approve them [X] attach debdiff against the package in (old)stable [X] the issue is verified as fixed in unstable [ Changes ] Just one checkdiff --git a/debian/changelog b/debian/changelog index 91b3ad0..05749be 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +node-pathval (1.1.0-3+deb10u1) buster; urgency=medium + + * Fix prototype pollution (Closes: #972895, CVE-2020-7751) + + -- Xavier Guimard <yadd@debian.org> Mon, 26 Oct 2020 04:44:16 +0100 + node-pathval (1.1.0-3) unstable; urgency=medium * Point d/watch to /releases instead of /tags. diff --git a/debian/patches/CVE-2020-7751.diff b/debian/patches/CVE-2020-7751.diff new file mode 100644 index 0000000..7d1ed9a --- /dev/null +++ b/debian/patches/CVE-2020-7751.diff @@ -0,0 +1,21 @@ +Description: fix prototype pollution +Author: Adam Gold <adamgold7@gmail.com> +Origin: upstream, https://github.com/chaijs/pathval/commit/21a9046 +Bug: https://snyk.io/vuln/SNYK-JS-PATHVAL-596926 +Bug-Debian: https://bugs.debian.org/972895 +Forwarded: not-needed +Reviewed-By: Xavier Guimard <yadd@debian.org> +Last-Update: 2020-10-25 + +--- a/index.js ++++ b/index.js +@@ -76,6 +76,9 @@ + var str = path.replace(/([^\\])\[/g, '$1.['); + var parts = str.match(/(\\\.|[^.]+?)+/g); + return parts.map(function mapMatches(value) { ++ if (value === "constructor" || value === "__proto__" || value === "prototype") { ++ return {} ++ } + var regexp = /^\[(\d+)\]$/; + var mArr = regexp.exec(value); + var parsed = null; diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..2c7bbd9 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +CVE-2020-7751.diff
--- End Message ---
--- Begin Message ---
- To: 963340-done@bugs.debian.org, 970518-done@bugs.debian.org, 970655-done@bugs.debian.org, 970816-done@bugs.debian.org, 970999-done@bugs.debian.org, 971062-done@bugs.debian.org, 971277-done@bugs.debian.org, 971392-done@bugs.debian.org, 971685-done@bugs.debian.org, 971807-done@bugs.debian.org, 971808-done@bugs.debian.org, 971809-done@bugs.debian.org, 971866-done@bugs.debian.org, 971869-done@bugs.debian.org, 971915-done@bugs.debian.org, 971944-done@bugs.debian.org, 971954-done@bugs.debian.org, 972001-done@bugs.debian.org, 972115-done@bugs.debian.org, 972161-done@bugs.debian.org, 972183-done@bugs.debian.org, 972310-done@bugs.debian.org, 972351-done@bugs.debian.org, 972389-done@bugs.debian.org, 972651-done@bugs.debian.org, 972694-done@bugs.debian.org, 972796-done@bugs.debian.org, 972814-done@bugs.debian.org, 972839-done@bugs.debian.org, 972903-done@bugs.debian.org, 972963-done@bugs.debian.org, 973655-done@bugs.debian.org, 973695-done@bugs.debian.org, 973917-done@bugs.debian.org, 974695-done@bugs.debian.org, 975086-done@bugs.debian.org, 975297-done@bugs.debian.org, 975425-done@bugs.debian.org, 975514-done@bugs.debian.org, 975616-done@bugs.debian.org, 975837-done@bugs.debian.org, 975870-done@bugs.debian.org, 975874-done@bugs.debian.org, 975975-done@bugs.debian.org, 976018-done@bugs.debian.org, 976019-done@bugs.debian.org
- Subject: Closing bugs for updates in 10.7 point release
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 05 Dec 2020 11:02:00 +0000
- Message-id: <b70f86aac27195271a9b5212c7acc936da6ff100.camel@adam-barratt.org.uk>
Package: release.debian.org Version: 10.7 Hi, Each of the updates referenced by these bugs was included in this morning's buster 10.7 point release. Regards, Adam
--- End Message ---