Debian Bug report logs -
#947127
npm: CVE-2019-16775 CVE-2019-16776 CVE-2019-16777
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, team@security.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
:
Bug#947127
; Package src:npm
.
(Sat, 21 Dec 2019 16:27:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Salvatore Bonaccorso <carnil@debian.org>
:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, team@security.debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
.
(Sat, 21 Dec 2019 16:27:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: npm
Version: 5.8.0+ds6-4
Severity: important
Tags: security upstream
Hi,
The following vulnerabilities were published for npm.
CVE-2019-16775[0]:
| Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary
| File Write. It is possible for packages to create symlinks to files
| outside of thenode_modules folder through the bin field upon
| installation. A properly constructed entry in the package.json bin
| field would allow a package publisher to create a symlink pointing to
| arbitrary files on a user&#8217;s system when the package is
| installed. This behavior is still possible through install scripts.
| This vulnerability bypasses a user using the --ignore-scripts install
| option.
CVE-2019-16776[1]:
| Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary
| File Write. It fails to prevent access to folders outside of the
| intended node_modules folder through the bin field. A properly
| constructed entry in the package.json bin field would allow a package
| publisher to modify and/or gain access to arbitrary files on a
| user&#8217;s system when the package is installed. This behavior
| is still possible through install scripts. This vulnerability bypasses
| a user using the --ignore-scripts install option.
CVE-2019-16777[2]:
| Versions of the npm CLI prior to 6.13.4 are vulnerable to an Arbitrary
| File Overwrite. It fails to prevent existing globally-installed
| binaries to be overwritten by other package installations. For
| example, if a package was installed globally and created a serve
| binary, any subsequent installs of packages that also create a serve
| binary would overwrite the previous serve binary. This behavior is
| still allowed in local installations and also through install scripts.
| This vulnerability bypasses a user using the --ignore-scripts install
| option.
If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2019-16775
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16775
[1] https://security-tracker.debian.org/tracker/CVE-2019-16776
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16776
[2] https://security-tracker.debian.org/tracker/CVE-2019-16777
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16777
Please adjust the affected versions in the BTS as needed.
Regards,
Salvatore
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Dec 22 09:09:40 2019;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.