
Cloud Vulnerability DB
A community-led vulnerabilities database
The vulnerability (CVE-2020-15133) affects the Faye::WebSocket::Client class in faye-websocket versions prior to 0.11.0. The issue stems from the library's implementation of TLS handshake using EventMachine's EM::Connection#start_tls method, which by default does not verify server certificates for WebSocket Secure (wss:) connections (GitHub Advisory).
The vulnerability occurs because the library does not implement certificate verification by default when establishing wss: connections. When using EM::Connection#start_tls method in EventMachine, the system fails to verify both the validity of the server's TLS certificate chain and the hostname matching for the presented certificate. This implementation gap exists despite EventMachine providing an extension point called ssl_verify_peer for certificate verification (Blog Post).
Any wss: connection made using this library is vulnerable to man-in-the-middle attacks since it does not confirm the identity of the server it is connected to. This means an attacker could potentially intercept and manipulate the secure WebSocket communications between the client and server (GitHub Advisory).
The vulnerability is highly exploitable in environments where an attacker can position themselves between the client and server. The lack of certificate verification means that any self-signed or invalid certificate would be accepted by the client, making it straightforward for an attacker to impersonate the legitimate server (Blog Post).
The vulnerability was patched in version 0.11.0 of faye-websocket. The fix implements proper TLS verification by default and adds two new configuration options: tls.root_cert_file for specifying custom root certificates, and tls.verify_peer for controlling verification behavior. Users should upgrade to version 0.11.0 or later. There are no workarounds for earlier versions as the ssl_verify_peer implementation is required at the library level (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."