CVE-2020-15133
Missing TLS certificate verification in Faye Websocket
Also known as GHSA-2v5c-755p-p4gv
Mitigation
- Upgrade faye-websocket to 0.11.0 or later.
Who should check
- Projects that depend on RubyGems package faye-websocket (< 0.11.0)
- Anyone running faye-websocket < 0.11.0
Vulnerability facts
- Affected
- faye-websocket < 0.11.0
- Fixed in
- 0.11.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.92% chance of exploitation in 30 days (percentile 58, 2026-11-26)
- CWE
- CWE-295
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| RubyGems faye-websocket | < 0.11.0 | 0.11.0 | osv |
| faye-websocket | < 0.11.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-15133. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-15133.md Affected: faye-websocket < 0.11.0 Fixed in: 0.11.0 Steps: 1. Search this machine and project for faye-websocket (RubyGems), faye-websocket: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://github.com/eventmachine/eventmachine/issues/275
- https://github.com/eventmachine/eventmachine/issues/814
- https://github.com/faye/faye/issues/524
- https://blog.jcoglan.com/2020/07/31/missing-tls-verification-in-faye
- https://github.com/faye/faye-websocket-ruby
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/faye-websocket/CVE-2020-15133.yml
- https://www.rubydoc.info/github/eventmachine/eventmachine/EventMachine/Connection:ssl_verify_peer
- https://www.rubydoc.info/github/eventmachine/eventmachine/EventMachine/Connection:start_tls
FAQ
Is CVE-2020-15133 being exploited?
There is no confirmed exploitation: CVE-2020-15133 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.92% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-15133?
High: CVSS 8.0 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2020-15133?
faye-websocket < 0.11.0.
Is there a fix for CVE-2020-15133?
Yes. Fixed in 0.11.0. Upgrade faye-websocket to 0.11.0 or later.
How do I check if I'm affected by CVE-2020-15133?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.