[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#934704: marked as done (buster-pu: package node-lodash/4.17.11+dfsg-2+deb10u1)



Your message dated Sat, 07 Sep 2019 14:34:49 +0100
with message-id <[🔎] f49e2985d8466065c49c03185c24465a32228fb5.camel@adam-barratt.org.uk>
and subject line Closing bugs for fixes including in 10.1 point release
has caused the Debian Bug report #934704,
regarding buster-pu: package node-lodash/4.17.11+dfsg-2+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.)


-- 
934704: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934704
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian.org@packages.debian.org
Usertags: pu

Hi all,

node-lodash is vulnerable to prototype pollution (#933079,
CVE-2019-10744). I imported upstream fix in the attached debdiff.

Cheers,
Xavier
diff --git a/debian/changelog b/debian/changelog
index 70f10cb..880adff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+node-lodash (4.17.11+dfsg-2+deb10u1) buster; urgency=medium
+
+  * Team upload
+  * Fix prototype pollution (Closes: #933079, CVE-2019-10744)
+
+ -- Xavier Guimard <yadd@debian.org>  Tue, 13 Aug 2019 19:02:17 +0200
+
 node-lodash (4.17.11+dfsg-2) unstable; urgency=medium
 
   * Drop modules directory (now generated from source)
diff --git a/debian/patches/CVE-2019-10744.patch b/debian/patches/CVE-2019-10744.patch
new file mode 100644
index 0000000..bdf0936
--- /dev/null
+++ b/debian/patches/CVE-2019-10744.patch
@@ -0,0 +1,34 @@
+Description: fix for CVE-2019-10744
+Author: Xavier Guimard <yadd@debian.org>
+Origin: upstream, https://github.com/lodash/lodash/pull/4336/files
+Bug: https://github.com/lodash/lodash/issues/4348
+Bug-Debian: https://bugs.debian.org/933079
+Forwarded: not-needed
+Last-Update: 2019-08-13
+
+--- a/dist/lodash.js
++++ b/dist/lodash.js
+@@ -6613,6 +6613,10 @@
+      * @returns {*} Returns the property value.
+      */
+     function safeGet(object, key) {
++      if (key === 'constructor' && typeof object[key] === 'function') {
++        return;
++      }
++
+       if (key == '__proto__') {
+         return;
+       }
+--- a/lodash.js
++++ b/lodash.js
+@@ -6613,6 +6613,10 @@
+      * @returns {*} Returns the property value.
+      */
+     function safeGet(object, key) {
++      if (key === 'constructor' && typeof object[key] === 'function') {
++        return;
++      }
++
+       if (key == '__proto__') {
+         return;
+       }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2dd5579
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+CVE-2019-10744.patch

--- End Message ---
--- Begin Message ---
Version: 10.1

Hi,

The fixes referenced by each of these bugs were included in today's
buster point release.

Regards,

Adam

--- End Message ---

Reply to: