Lucene search

K
cveGitHub_MCVE-2020-15133
HistoryJul 31, 2020 - 6:15 p.m.

CVE-2020-15133

2020-07-3118:15:14
CWE-295
GitHub_M
web.nvd.nist.gov
62
cve-2020-15133
faye-websocket
tls handshake
certificate validation
eventmachine
em::connection#start_tls
man-in-the-middle attack
github advisory
nvd

CVSS2

5.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:P/A:N

CVSS3

8.7

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

AI Score

8.3

Confidence

High

EPSS

0.002

Percentile

58.5%

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 configurations

Nvd
Vulners
Node
faye-websocket_projectfaye-websocketRange<0.11.0
VendorProductVersionCPE
faye-websocket_projectfaye-websocket*cpe:2.3:a:faye-websocket_project:faye-websocket:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "faye-websocket",
    "vendor": "faye",
    "versions": [
      {
        "status": "affected",
        "version": "< 0.11.0"
      }
    ]
  }
]

CVSS2

5.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:P/A:N

CVSS3

8.7

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

AI Score

8.3

Confidence

High

EPSS

0.002

Percentile

58.5%