Missing TLS certificate verification in Faye
Published Jul 31, 2020
8.7
HIGHCVSS 3.1
EPSS 0.86%
Description
Faye before version 1.4.0, there is a lack of certification validation in TLS handshakes. Faye uses em-http-request and faye-websocket in the Ruby version of its client. Those libraries both use 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 `https:` or `wss:` connection made using these libraries is vulnerable to a man-in-the-middle attack, since it does not confirm the identity of the server it is connected to. The first request a Faye client makes is always sent via normal HTTP, but later messages may be sent via WebSocket. Therefore it is vulnerable to the same problem that these underlying libraries are, and we needed both libraries to support TLS verification before Faye could claim to do the same. Your client would still be insecure if its initial HTTPS request was verified, but later WebSocket connections were not. This is fixed in Faye v1.4.0, which enables verification by default. For further background information on this issue, please see the referenced GitHub Advisory.
Affected products
-
- Version < 1.4.0StatusaffectedConstraints-
- Version
- < 1.4.0
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
1 other source (GHSA) ▾
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.86% (0.00864) | 57.10th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.86% (0.00864) | 57.04th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.20% (0.00204) | 58.78th | v3 (v2023.03.01) |
| Apr 17, 2024 | 0.20% (0.00204) | 57.99th | v3 (v2023.03.01) |
| Mar 14, 2024 | 0.17% (0.00171) | 53.32th | v3 (v2023.03.01) |
| Dec 4, 2023 | 0.14% (0.00139) | 49.23th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.12% (0.00119) | 44.27th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 10.85% (0.10855) | 88.34th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.91% (0.02909) | 64.88th | v1 |
| Jan 6, 2022 | 2.91% (0.02909) | 64.55th | v1 |
| Jan 5, 2022 | 0.66% (0.00663) | 48.81th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.66% (0.00663) | 0.00th | v1 |
References (14)
- https://blog.jcoglan.com/2020/07/31/missing-tls-verification-in-faye/ x_refsource_MISCExploitThird Party Advisory
- https://github.com/advisories/GHSA-3q49-h8f9-9fr9 Advisory
- https://github.com/eventmachine/eventmachine/issues/275
- https://github.com/eventmachine/eventmachine/issues/814
- https://github.com/eventmachine/eventmachine/pull/378
- https://github.com/faye/faye-websocket-ruby/pull/129
- https://github.com/faye/faye/issues/524
- https://github.com/faye/faye/security/advisories/GHSA-3q49-h8f9-9fr9 x_refsource_CONFIRMExploitThird Party Advisory
- https://github.com/igrigorik/em-http-request/pull/340
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/faye/CVE-2020-15134.yml
- https://nvd.nist.gov/vuln/detail/CVE-2020-15134
- https://securitylab.github.com/advisories/GHSL-2020-094-igrigorik-em-http-request
- https://www.rubydoc.info/github/eventmachine/eventmachine/EventMachine/Connection:ssl_verify_peer
- https://www.rubydoc.info/github/eventmachine/eventmachine/EventMachine/Connection:start_tls
Change history (0)
No recorded changes yet.