dependabot[bot] opened a new pull request, #4662:
URL: https://github.com/apache/zeppelin/pull/4662

   Bumps [ws](https://github.com/websockets/ws) to 1.1.5 and updates ancestor 
dependency 
[angular-websocket](https://github.com/angular-class/angular-websocket). These 
dependencies need to be updated together.
   
   Updates `ws` from 0.7.2 to 1.1.5
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/websockets/ws/releases";>ws's 
releases</a>.</em></p>
   <blockquote>
   <h2>1.1.5</h2>
   <h1>Bug fixes</h1>
   <ul>
   <li>Fixed a DoS vulnerability (f8fdcd4).</li>
   </ul>
   <h2>1.1.4</h2>
   <h1>Notable changes</h1>
   <ul>
   <li>Removed istanbul coverage folder from npm package (fac50ac).</li>
   </ul>
   <h2>1.1.3</h2>
   <h1>Notable changes</h1>
   <ul>
   <li>Added support for <code>bufferutil@&gt;1</code> and 
<code>utf-8-validate@&gt;2</code> (b4cf110).</li>
   </ul>
   <h2>1.1.2</h2>
   <h1>Bug fixes</h1>
   <ul>
   <li>The masking key is now generated using <code>crypto.randomBytes()</code> 
instead of
   <code>Math.random()</code> (<a 
href="https://redirect.github.com/websockets/ws/issues/994";>#994</a>).</li>
   <li>Fixed an issue that could cause a stack overflow crash (c1f3b21).</li>
   </ul>
   <h2>1.1.1</h2>
   <p><a 
href="https://github.com/websockets/ws/compare/1.1.0...1.1.1";>https://github.com/websockets/ws/compare/1.1.0...1.1.1</a></p>
   <h2>1.1.0</h2>
   <p><a 
href="https://github.com/websockets/ws/compare/1.0.1...1.1.0";>https://github.com/websockets/ws/compare/1.0.1...1.1.0</a></p>
   <h2>Buffer vulnerability</h2>
   <p>There has been vulnerability in the ping functionality of the 
<code>ws</code> module which allowed clients to allocate memory by simply 
sending a ping frame. The ping functionality by default responds with a pong 
frame and the previously given payload of the ping frame. This is exactly what 
you expect, but internally we always transform all data that we need to send to 
a <code>Buffer</code> instance and this is where the problem was. We didn't do 
any checks for the type of data we were sending. With buffers in node when you 
allocate it when a number instead of a string it will allocate the amount of 
bytes.</p>
   <pre lang="js"><code>var x = new Buffer(100);
   // vs
   var x = new Buffer('100');
   </code></pre>
   <p>This would allocate 100 bytes of memory in the first example and just 3 
bytes with <code>100</code> as value in the second example. So when the server 
would receive a ping message of <code>1000</code> it would allocate 1000 bytes 
on the server and returned non-zeroed buffer to the client instead of the 
actual <code>100</code> message.</p>
   <pre lang="js"><code>var ws = require('ws')
   <p>var server = new ws.Server({ port: 9000 })
   var client = new ws('ws://localhost:9000')</p>
   <p>client.on('open', function () {
   console.log('open')
   client.ping(50) // this makes the server return a non-zeroed buffer of 50 
bytes</p>
   <p>client.on('pong', function (data) {
   console.log('got pong')
   &lt;/tr&gt;&lt;/table&gt;
   </code></pre></p>
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/websockets/ws/commit/24edef58a0aab05e8220f76bd2377614dd4eee85";><code>24edef5</code></a>
 [dist] 1.1.5</li>
   <li><a 
href="https://github.com/websockets/ws/commit/f8fdcd40ac8be7318a6ee41f5ceb7e77c995b407";><code>f8fdcd4</code></a>
 [security] Fix DoS vulnerability</li>
   <li><a 
href="https://github.com/websockets/ws/commit/f7cfc51a9f4364c80d43329e8e604aff00e89e2a";><code>f7cfc51</code></a>
 [pkg] Remove .npmignore in favor of <code>files</code> package.json field</li>
   <li><a 
href="https://github.com/websockets/ws/commit/19106a14d1782bed6f3b12a612e1a73a4970fdbe";><code>19106a1</code></a>
 [dist] 1.1.4</li>
   <li><a 
href="https://github.com/websockets/ws/commit/fac50ac767d7ba27eb63f6b5fcc9390fdb2cbea7";><code>fac50ac</code></a>
 [ignore] Add coverage folder to .npmignore</li>
   <li><a 
href="https://github.com/websockets/ws/commit/32132056da3a4223f86f4337ef633cebaebea9b0";><code>3213205</code></a>
 [dist] 1.1.3</li>
   <li><a 
href="https://github.com/websockets/ws/commit/b4cf1100d83ded87ea0d087694234d4dd894d8f1";><code>b4cf110</code></a>
 [fix] Add compatibility with bufferutil@&gt;1 and utf-8-validate@&gt;2</li>
   <li><a 
href="https://github.com/websockets/ws/commit/98f0d21f49c0d2c2daa175f840bc36c44d2729b1";><code>98f0d21</code></a>
 [dist] 1.1.2</li>
   <li><a 
href="https://github.com/websockets/ws/commit/b6ac431e6b8b0b6400e172d6a4d1a4322044b6f1";><code>b6ac431</code></a>
 [minor] Avoid using <code>process.nextTick()</code></li>
   <li><a 
href="https://github.com/websockets/ws/commit/c1f3b2102b802f16bc2b53623afaa7edefa940c9";><code>c1f3b21</code></a>
 [fix] Fix stack overflow crash</li>
   <li>Additional commits viewable in <a 
href="https://github.com/websockets/ws/compare/0.7.2...1.1.5";>compare 
view</a></li>
   </ul>
   </details>
   <details>
   <summary>Maintainer changes</summary>
   <p>This version was pushed to npm by <a 
href="https://www.npmjs.com/~lpinca";>lpinca</a>, a new releaser for ws since 
your current version.</p>
   </details>
   <br />
   
   Updates `angular-websocket` from 1.0.14 to 1.1.0
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a 
href="https://github.com/PatrickJS/angular-websocket/blob/master/CHANGELOG.md";>angular-websocket's
 changelog</a>.</em></p>
   <blockquote>
   <h2>1.1.0 (2016-4-4)</h2>
   </blockquote>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/PatrickJS/angular-websocket/commit/56c2534875aaf9bafa86c5ab790ce4ef68e4379e";><code>56c2534</code></a>
 chore: bump 1.1.0</li>
   <li><a 
href="https://github.com/PatrickJS/angular-websocket/commit/75fda2100c52842b737851ed6f01d80ccd0f20f7";><code>75fda21</code></a>
 chore: dist</li>
   <li><a 
href="https://github.com/PatrickJS/angular-websocket/commit/fdfea1f3e82bd29f3ec7f0b3620491fa75e5eb1c";><code>fdfea1f</code></a>
 chore: update dev deps</li>
   <li><a 
href="https://github.com/PatrickJS/angular-websocket/commit/54c11f2f2a73473238394b94e3468d0791a4b124";><code>54c11f2</code></a>
 feat: digest onError onClose</li>
   <li><a 
href="https://github.com/PatrickJS/angular-websocket/commit/56b425c690ed49cc8c150bf1f876e4951e73e42e";><code>56b425c</code></a>
 chore: update dev deps</li>
   <li><a 
href="https://github.com/PatrickJS/angular-websocket/commit/49fefbb59effa1f1c784fc03098a35b256cbc986";><code>49fefbb</code></a>
 Merge pull request <a 
href="https://redirect.github.com/angular-class/angular-websocket/issues/63";>#63</a>
 from raszpi/webpack-require-fix</li>
   <li><a 
href="https://github.com/PatrickJS/angular-websocket/commit/cff7cc3e579abbf0a7614e9e827be84e33239352";><code>cff7cc3</code></a>
 require check added, fixes <a 
href="https://redirect.github.com/angular-class/angular-websocket/issues/62";>#62</a></li>
   <li><a 
href="https://github.com/PatrickJS/angular-websocket/commit/88b6e88cd076dec261a67d2b46dfd7afa0d08e28";><code>88b6e88</code></a>
 Merge pull request <a 
href="https://redirect.github.com/angular-class/angular-websocket/issues/58";>#58</a>
 from spiroid/fix-ws-version</li>
   <li><a 
href="https://github.com/PatrickJS/angular-websocket/commit/2d501839bdb15d350ec6242f930cc4245b32b914";><code>2d50183</code></a>
 fix(ws): upgrade to version 1.0</li>
   <li><a 
href="https://github.com/PatrickJS/angular-websocket/commit/d4f968d0c49334fa109a2e4bea6e80f34d8584c0";><code>d4f968d</code></a>
 Update package.json</li>
   <li>Additional commits viewable in <a 
href="https://github.com/angular-class/angular-websocket/compare/v1.0.14...v1.1.0";>compare
 view</a></li>
   </ul>
   </details>
   <br />
   
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show <dependency name> ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   You can disable automated security fix PRs for this repo from the [Security 
Alerts page](https://github.com/apache/zeppelin/network/alerts).
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to