{"id":"CVE-2020-15133","published":"2020-07-31T17:40:21Z","modified":"2024-08-04T13:08:22Z","title":"Missing TLS certificate verification in Faye Websocket","vendor":"faye","product":"faye-websocket","tier":"tail","description":{"text":"In faye-websocket before version 0.11.0, there is a lack of certification 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. That means that any `wss:` connection made using this library is vulnerable to a man-in-the-middle attack, since it does not confirm the identity of the server it is connected to. For further background information on this issue, please see the referenced GitHub Advisory. Upgrading `faye-websocket` to v0.11.0 is recommended.","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00918,"percentile":0.61089,"provenance":"source"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"references":[{"url":"https://blog.jcoglan.com/2020/07/31/missing-tls-verification-in-faye/","tags":["x_refsource_MISC"]},{"url":"https://github.com/faye/faye-websocket-ruby/security/advisories/GHSA-2v5c-755p-p4gv","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":12.22},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"faye","affectedVersions":[{"vendor":"faye","product":"faye-websocket","versions":["< 0.11.0"]}],"affected":[{"ecosystem":"RubyGems","package":"faye-websocket","vulnerableRanges":["<0.11.0"],"patched":["0.11.0"],"from":["GHSA-2v5c-755p-p4gv"],"provenance":"source"}],"summary":{"text":"The flaw is missing TLS certificate verification in the Faye::WebSocket::Client class of the faye-websocket library, which uses EventMachine's start_tls for wss: connections and does not check that the server's certificate is valid and trusted for the expected hostname by default. An attacker positioned on the network path between the client and server can perform a man-in-the-middle attack on any wss: connection made with this library, since the client does not verify the identity of the server, and the attack requires user interaction on the client side.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:46Z"},"euvd":{"id":"EUVD-2020-0529","exploited":false,"provenance":"source"}}