Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: websockets/ws Loading
base: 6.2.1
Choose a base ref
...
head repository: websockets/ws Loading
compare: 6.2.3
Choose a head ref
  • 4 commits
  • 3 files changed
  • 1 contributor

Commits on Jun 1, 2021

  1. [security] Fix ReDoS vulnerability

    A specially crafted value of the `Sec-Websocket-Protocol` header could
    be used to significantly slow down a ws server.
    
    PoC and fix were sent privately by Robert McLaughlin from University of
    California, Santa Barbara.
    lpinca committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    78c676d View commit details
    Browse the repository at this point in the history
  2. [dist] 6.2.2

    lpinca committed Jun 1, 2021
    2 Configuration menu
    Copy the full SHA
    9bdb580 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2024

  1. [security] Fix crash when the Upgrade header cannot be read (#2231)

    It is possible that the Upgrade header is correctly received and handled
    (the `'upgrade'` event is emitted) without its value being returned to
    the user. This can happen if the number of received headers exceed the
    `server.maxHeadersCount` or `request.maxHeadersCount` threshold. In this
    case `incomingMessage.headers.upgrade` may not be set.
    
    Handle the case correctly and abort the handshake.
    
    Fixes #2230
    lpinca committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    eeb76d3 View commit details
    Browse the repository at this point in the history
  2. [dist] 6.2.3

    lpinca committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    d87f3b6 View commit details
    Browse the repository at this point in the history
Loading