# CVE-2020-15133: Missing TLS certificate verification in Faye Websocket

- Severity: High 8.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.92%, higher than 58% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-07-31T17:40:04.000Z
- Modified: 2026-09-10T03:48:51.742Z
- Also known as: GHSA-2v5c-755p-p4gv
- Weaknesses: CWE-295
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- faye faye-websocket: < 0.11.0
- faye-websocket (RubyGems): before 0.11.0
- faye-websocket_project faye-websocket: before 0.11.0

## Every score

- GitHub_M: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://blog.jcoglan.com/2020/07/31/missing-tls-verification-in-faye/> (exploit, third-party-advisory)
- <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://blog.jcoglan.com/2020/07/31/missing-tls-verification-in-faye> (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)

## Sources

- CVE List: [CVE-2020-15133](https://www.cve.org/CVERecord?id=CVE-2020-15133), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-2v5c-755p-p4gv](https://github.com/advisories/GHSA-2v5c-755p-p4gv), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-15133](https://nvd.nist.gov/vuln/detail/CVE-2020-15133), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-15133 · Whole record: https://cve.day/CVE-2020-15133.json · Rebuilt by cve.day 2026-11-25T22:57:53.758Z
