Bug 1516539 - nodejs-ws: Server crash while parsing Sec-WebSocket-Extensions header
Summary: nodejs-ws: Server crash while parsing Sec-WebSocket-Extensions header
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1516541 1516540
Blocks: 1516544
TreeView+ depends on / blocked
 
Reported: 2017-11-22 21:08 UTC by Pedro Sampaio
Modified: 2019-09-29 14:26 UTC (History)
7 users (show)

Fixed In Version: nodejs-ws 3.3.1, nodejs-ws 1.1.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-27 00:50:45 UTC
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2017-11-22 21:08:14 UTC
A specially crafted value of the Sec-WebSocket-Extensions header used by Object.prototype property names as extension or parameter names could be used to make a ws server crash.

Upstream patch:

https://github.com/websockets/ws/commit/c4fe46608acd61fbf7397eadc47378903f95b78a
https://github.com/websockets/ws/commit/f8fdcd40ac8be7318a6ee41f5ceb7e77c995b407

References:

https://snyk.io/vuln/npm:ws:20171108

Comment 1 Pedro Sampaio 2017-11-22 21:09:56 UTC
Created nodejs-ws tracking bugs for this issue:

Affects: epel-all [bug 1516541]
Affects: fedora-all [bug 1516540]


Note You need to log in before you can comment on or make changes to this bug.