Skip to content

Commit 16e12ef

Browse files
authored
2019-dec sec release post-announcement (#2838)
1 parent 089341b commit 16e12ef

2 files changed

Lines changed: 48 additions & 3 deletions

File tree

build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ function getSource (callback) {
291291
},
292292
banner: {
293293
visible: true,
294-
text: 'New security releases to be made available Dec 17, 2019',
294+
text: 'New security releases now available for all release lines',
295295
link: '/en/blog/vulnerability/december-2019-security-releases/'
296296
}
297297
}

locale/en/blog/vulnerability/december-2019-security-releases.md

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,57 @@
11
---
2-
date: 2019-12-12T18:20:47.733Z
2+
date: 2019-12-18T00:23:00.000Z
33
category: vulnerability
44
title: December 2019 Security Releases
55
slug: december-2019-security-releases
66
layout: blog-post.hbs
7-
author: Michael Dawson
7+
author: Michael Dawson, Sam Roberts
88
---
99

10+
## _(Update 18-December-2019)_ Releases available
11+
12+
These releases update npm to v6.13.4 to address three vulnerabilities described below.
13+
14+
All current release lines were affected.
15+
16+
At this time, CVEs have been requested by npm, Inc. and are pending review. See https://twitter.com/ahmadnassri/status/1205132161961123841 for more information.
17+
18+
### Global `node_modules` Binary Overwrite
19+
20+
Versions of the npm CLI prior to 6.13.4 are vulnerable to a Global `node_modules` Binary Overwrite. It fails to prevent existing globally-installed binaries to be overwritten by other package installations.
21+
22+
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 first binary. This will not overwrite system binaries but only binaries put into the global `node_modules` directory.
23+
24+
This behavior is still allowed in local installations and also through install scripts. This vulnerability bypasses a user using the `--ignore-scripts` install option.
25+
26+
* https://www.npmjs.com/advisories/1437
27+
28+
### Symlink reference outside of `node_modules`
29+
30+
Versions of the npm CLI prior to 6.13.3 are vulnerable to a symlink reference outside of `node_modules`. It is possible for packages to create symlinks to files outside of the `node_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’s system when the package is installed. Only files accessible by the user running the `npm install` are affected.
31+
32+
This behavior is still possible through install scripts. This vulnerability bypasses a user using the `--ignore-scripts` install option.
33+
34+
* https://www.npmjs.com/advisories/1436
35+
36+
### Arbitrary File Write
37+
38+
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’s system when the package is installed. It is only possible to affect files that the user running `npm install` has access to.
39+
40+
This behavior is still possible through install scripts. This vulnerability bypasses a user using the `--ignore-scripts` install option.
41+
42+
* https://www.npmjs.com/advisories/1434
43+
44+
### Downloads
45+
46+
* [Node.js v13.4.0](https://nodejs.org/en/blog/release/v13.4.0/)
47+
* [Node.js v12.14.0](https://nodejs.org/en/blog/release/v12.14.0/)
48+
* [Node.js v10.18.0](https://nodejs.org/en/blog/release/v10.18.0/)
49+
* [Node.js v8.17.0](https://nodejs.org/en/blog/release/v8.17.0/)
50+
51+
Please note that this will be the final release of the v8.x line as support ends after December 31st, 2019.
52+
53+
--------------------------------------
54+
1055
# Summary
1156

1257
The Node.js project will release new versions of all supported release lines on or shortly after Tuesday December 17, 2019 UTC. For versions 8, 10, and 12 the only update to the runtime in these releases will be an updated version of npm addressing the vulnerability announced in https://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli. Version 13, while still being a security release, will include all commits that were scheduled to be included in the originally scheduled release.

0 commit comments

Comments
 (0)