Improper Certificate Validation Affecting faye-websocket package, versions <0.11.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUBY-FAYEWEBSOCKET-597162
  • published2 Aug 2020
  • disclosed31 Jul 2020
  • creditUnknown

Introduced: 31 Jul 2020

CVE-2020-15133  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade faye-websocket to version 0.11.0 or higher.

Overview

faye-websocket is a Standards-compliant WebSocket server and client.

Affected versions of this package are vulnerable to Improper Certificate Validation in TLS handshakes. The Faye::WebSocket::Client class uses the EM::Connection#start_tls method in EventMachine to implement the TLS handshake whenever a wss: URL is used for the connection. This method does not implement certificate verification by default, meaning that it does not check that the server presents a valid and trusted TLS certificate for the expected hostname.

CVSS Scores

version 3.1