KeygraphLabs · CVE MCP

CVE-2020-15134 · GitHub_M

Missing TLS certificate verification in Faye

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

Published 2020-07-31, last changed 2026-06-17. Weakness: CWE-295.

CVSS
8.7
high, from NVD
EPSS
0.86%
percentile 59.9%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: faye 1.4.0 (RubyGems). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in faye/faye by 60141e8d39. The fix changed source code, but no function could be located in it. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2020-07-31Published
2020-07-31Package advisory GHSA-3q49-h8f9-9fr9
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 0.86%
2026-12-04Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-3q49-h8f9-9fr9faye (RubyGems)1.4.0

Also known as: GHSA-3q49-h8f9-9fr9

Related

CVEPublishedCVSSSummary
CVE-2020-110202020-04-299.8Authentication and extension bypass in Faye
CVE-2026-1443042026-12-039.1Certifi: Removal of emSign root cerificate
CVE-2026-1414712026-12-017.4Mongoose: Built-in TLS client accepts a server certificate after issuer signature verification fails
CVE-2026-618322026-11-207.5NukeViet CMS: PHP Object Injection to RCE in extension store via unverified HTTP response
CVE-2026-755222026-11-187.5OpenID4VP: X.509 chain validation accepts a forged certificate that reuses a trusted anchor's Subject DN without verifying its signature
CVE-2026-755212026-11-1810Miren Runtime: Authentication bypass in RPC layer: unverified TLS client certificates grant cluster superuser access
CVE-2026-1293062026-11-164.4libspdm: libspdm_x509_verify_cert_chain() does not verify CA nameConstraints / pathLenConstraint
CVE-2026-1026122026-11-138.1BACnet Stack: BACnet/SC hub never requires a client cert, so any host joins the mesh unauthenticated

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2020-15134, or call /api/v1/vulnerabilities/CVE-2020-15134. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org