Your message dated Sat, 08 Feb 2020 14:23:35 +0000 with message-id <a894a0233c2d264936953d7a69507573c4a5742a.camel@adam-barratt.org.uk> and subject line Closing bugs included in 9.12 has caused the Debian Bug report #935970, regarding stretch-pu: package node-fstream/1.0.10-1+deb9u1 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.) -- 935970: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935970 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: stretch-pu: package node-fstream/1.0.10-1+deb9u1
- From: Xavier Guimard <yadd@debian.org>
- Date: Wed, 28 Aug 2019 16:53:23 +0200
- Message-id: <156700400348.2475.18372744879564428319.reportbug@mac-debian.lemonldap-ng.org>
Package: release.debian.org Severity: normal Tags: stretch User: release.debian.org@packages.debian.org Usertags: pu Hi, node-fstream is vulnerable to Arbitrary File Overwrite (#931408, CVE-2019-13173). This little patch fixes the problem. Cheers, Xavierdiff --git a/debian/changelog b/debian/changelog index 8162572..41fb724 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +node-fstream (1.0.10-1+deb9u1) stretch; urgency=medium + + * Team upload + * Clobber a Link if it's in the way of a File + (Closes: #931408, CVE-2019-13173) + + -- Xavier Guimard <yadd@debian.org> Wed, 28 Aug 2019 16:49:20 +0200 + node-fstream (1.0.10-1) unstable; urgency=medium * New upstream version 1.0.10 diff --git a/debian/patches/CVE-2019-13173.diff b/debian/patches/CVE-2019-13173.diff new file mode 100644 index 0000000..6adddad --- /dev/null +++ b/debian/patches/CVE-2019-13173.diff @@ -0,0 +1,20 @@ +Description: Clobber a Link if it's in the way of a File +Author: isaacs <i@izs.me> +Origin: upstream, https://github.com/npm/fstream/commit/6a77d2f +Bug: https://www.npmjs.com/advisories/886 +Bug-Debian: https://bugs.debian.org/931408 +Forwarded: not-needed +Reviewed-By: Xavier Guimard <yadd@debian.org> +Last-Update: 2019-08-28 + +--- a/lib/writer.js ++++ b/lib/writer.js +@@ -147,7 +147,7 @@ + + // if it's a type change, then we need to clobber or error. + // if it's not a type change, then let the impl take care of it. +- if (currentType !== self.type) { ++ if (currentType !== self.type || self.type === 'File' && current.nlink > 1) { + return rimraf(self._path, function (er) { + if (er) return self.error(er) + self._old = null diff --git a/debian/patches/series b/debian/patches/series index d1851b7..3e5db07 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ fixtest.patch +CVE-2019-13173.diff
--- End Message ---
--- Begin Message ---
- To: 887324-done@bugs.debian.org, 902487-done@bugs.debian.org, 933263-done@bugs.debian.org, 935728-done@bugs.debian.org, 935970-done@bugs.debian.org, 939364-done@bugs.debian.org, 939897-done@bugs.debian.org, 939907-done@bugs.debian.org, 939967-done@bugs.debian.org, 940246-done@bugs.debian.org, 940477-done@bugs.debian.org, 940714-done@bugs.debian.org, 940715-done@bugs.debian.org, 941126-done@bugs.debian.org, 941169-done@bugs.debian.org, 941350-done@bugs.debian.org, 941452-done@bugs.debian.org, 942024-done@bugs.debian.org, 942110-done@bugs.debian.org, 942839-done@bugs.debian.org, 942840-done@bugs.debian.org, 942841-done@bugs.debian.org, 943352-done@bugs.debian.org, 943564-done@bugs.debian.org, 943606-done@bugs.debian.org, 944186-done@bugs.debian.org, 944233-done@bugs.debian.org, 944282-done@bugs.debian.org, 944794-done@bugs.debian.org, 944866-done@bugs.debian.org, 945821-done@bugs.debian.org, 945944-done@bugs.debian.org, 946159-done@bugs.debian.org, 946185-done@bugs.debian.org, 946558-done@bugs.debian.org, 946560-done@bugs.debian.org, 946570-done@bugs.debian.org, 946654-done@bugs.debian.org, 946704-done@bugs.debian.org, 946824-done@bugs.debian.org, 946907-done@bugs.debian.org, 947204-done@bugs.debian.org, 947255-done@bugs.debian.org, 947747-done@bugs.debian.org, 947834-done@bugs.debian.org, 948219-done@bugs.debian.org, 948391-done@bugs.debian.org, 948401-done@bugs.debian.org, 948465-done@bugs.debian.org, 948649-done@bugs.debian.org, 948704-done@bugs.debian.org, 948715-done@bugs.debian.org, 948730-done@bugs.debian.org, 948737-done@bugs.debian.org, 948898-done@bugs.debian.org, 949838-done@bugs.debian.org, 949853-done@bugs.debian.org, 949900-done@bugs.debian.org, 949905-done@bugs.debian.org, 949907-done@bugs.debian.org, 949909-done@bugs.debian.org, 950156-done@bugs.debian.org, 950256-done@bugs.debian.org, 950281-done@bugs.debian.org, 950309-done@bugs.debian.org
- Subject: Closing bugs included in 9.12
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 08 Feb 2020 14:23:35 +0000
- Message-id: <a894a0233c2d264936953d7a69507573c4a5742a.camel@adam-barratt.org.uk>
Package: release.debian.org Version: 9.12 Hi, Each of the uploads referred to by these bugs was included in today's oldstable point release. Regards, Adam
--- End Message ---