{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-15133","id":"CVE-2020-15133","title":"Missing TLS certificate verification in Faye Websocket","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 prese","descriptionLong":"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":"2020-07-31T17:40:21.000Z","updated":"2026-10-24T10:50:05.640622104Z","reserved":"2020-06-25T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":["faye-websocket"],"affectedProducts":[{"vendor":"faye","product":"faye-websocket","defaultStatus":null,"versions":[{"status":"affected","version":"< 0.11.0"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"faye-websocket","purl":"pkg:gem/faye-websocket","ranges":["<0.11.0"],"fixed":["0.11.0"],"advisory":"GHSA-2v5c-755p-p4gv"}],"cwes":["CWE-295"],"aliases":["GHSA-2v5c-755p-p4gv"],"references":[{"url":"https://blog.jcoglan.com/2020/07/31/missing-tls-verification-in-faye/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://github.com/faye/faye-websocket-ruby/security/advisories/GHSA-2v5c-755p-p4gv","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15133","tags":["advisory"]},{"url":"https://github.com/eventmachine/eventmachine/issues/275","tags":["web"]},{"url":"https://github.com/eventmachine/eventmachine/issues/814","tags":["web"]},{"url":"https://github.com/faye/faye/issues/524","tags":["web"]},{"url":"https://github.com/eventmachine/eventmachine/pull/378","tags":["web"]},{"url":"https://github.com/faye/faye-websocket-ruby/pull/129","tags":["web"]},{"url":"https://github.com/igrigorik/em-http-request/pull/340","tags":["web"]},{"url":"https://blog.jcoglan.com/2020/07/31/missing-tls-verification-in-faye","tags":["web"]},{"url":"https://github.com/faye/faye-websocket-ruby","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/faye-websocket/CVE-2020-15133.yml","tags":["web"]},{"url":"https://securitylab.github.com/advisories/GHSL-2020-094-igrigorik-em-http-request","tags":["advisory"]},{"url":"https://www.rubydoc.info/github/eventmachine/eventmachine/EventMachine/Connection:ssl_verify_peer","tags":["web"]},{"url":"https://www.rubydoc.info/github/eventmachine/eventmachine/EventMachine/Connection:start_tls","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00918,"epssPercentile":0.60967,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-15133","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15133","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-15133","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2v5c-755p-p4gv","ok":true,"note":"GHSA-2v5c-755p-p4gv"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-15133","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}