CVE-2020-15133
HIGH 8.7CVSS 3.1Missing TLS certificate verification in faye-websocket
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.
- Published
- 31 Jul 2020
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-295
- Also known as
- GHSA-2v5c-755p-p4gv
- Sources
- NVDJSONOSV GHSA-2v5c-755p-p4gvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | faye-websocket_project | faye-websocketcpe:2.3:a:faye-websocket_project:faye-websocket:*:*:*:*:*:*:*:* |
< 0.11.0 | 0.11.0 |
| OSV | RubyGems | faye-websocket | < 0.11.0 | 0.11.0 |
References
- https://blog.jcoglan.com/2020/07/31/missing-tls-verification-in-faye/ · Exploit, Third Party Advisory, WEB
- https://github.com/faye/faye-websocket-ruby/security/advisories/GHSA-2v5c-755p-p4gv · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-15133 · ADVISORY
- https://github.com/eventmachine/eventmachine/issues/275 · WEB
- https://github.com/eventmachine/eventmachine/issues/814 · WEB
- https://github.com/faye/faye/issues/524 · WEB
- https://github.com/eventmachine/eventmachine/pull/378 · WEB
- https://github.com/faye/faye-websocket-ruby/pull/129 · WEB
- https://github.com/igrigorik/em-http-request/pull/340 · WEB
- https://github.com/faye/faye-websocket-ruby · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/faye-websocket/CVE-2020-15133.yml · WEB
- https://securitylab.github.com/advisories/GHSL-2020-094-igrigorik-em-http-request · ADVISORY
- https://www.rubydoc.info/github/eventmachine/eventmachine/EventMachine/Connection:ssl_verify_peer · WEB
- https://www.rubydoc.info/github/eventmachine/eventmachine/EventMachine/Connection:start_tls · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Jul 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Jul 2020)