Lookup for vulnerable packages by Package URL.

Purlpkg:npm/faye@0.6.4
Typenpm
Namespace
Namefaye
Version0.6.4
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version1.0.4
Latest_non_vulnerable_version1.2.5
Affected_by_vulnerabilities
0
url VCID-t6zf-6pz1-4fhe
vulnerability_id VCID-t6zf-6pz1-4fhe
summary
Authentication and extension bypass in Faye
On 20 April 2020 it was reported to me that the potential for authentication
bypass exists in [Faye][1]'s extension system. This vulnerability has existed in
the Node.js and Ruby versions of the server since version 0.5.0, when extensions
were first introduced, in July 2010. It is patched in versions 1.0.4, 1.1.3 and
1.2.5, which we are releasing today.

The vulnerability allows any client to bypass checks put in place by server-side
extensions, by appending extra segments to the message channel. For example, the
Faye [extension docs][2] suggest that users implement access control for
subscriptions by checking incoming messages for the `/meta/subscribe` channel,
for example:

```js
server.addExtension({
  incoming: function(message, callback) {
    if (message.channel === '/meta/subscribe') {
      if (message.ext.authToken !== 'my super secret password') {
        message.error = 'Invalid auth token';
      }
    }
    callback(message);
  }
});
```

A bug in the server's code for recognising the special `/meta/*` channels, which
trigger connection and subscription events, means that a client can bypass this
check by sending a message to `/meta/subscribe/x` rather than `/meta/subscribe`:

```json
{
  "channel": "/meta/subscribe/x",
  "clientId": "3jrc6602npj4gyp6bn5ap2wqzjtb2q3",
  "subscription": "/foo"
}
```

This message will not be checked by the above extension, as it checks the
message's channel is exactly equal to `/meta/subscribe`. But it will still be
processed as a subscription request by the server, so the client becomes
subscribed to the channel `/foo` without supplying the necessary credentials.

The vulnerability is caused by the way the Faye server recognises meta channels.
It will treat a message to any channel that's a prefix-match for one of the
special channels `/meta/handshake`, `/meta/connect`, `/meta/subscribe`,
`/meta/unsubscribe` or `/meta/disconnect`, as though it were an exact match for
that channel. So, a message to `/meta/subscribe/x` is still processed as a
subscription request, for example.

An authentication bypass for subscription requests is the most serious effect of
this but all other meta channels are susceptible to similar manipulation.

This parsing bug in the server is fixed in versions 1.0.4, 1.1.3 and 1.2.5.
These should be drop-in replacements for prior versions and you should upgrade
immediately if you are running any prior version.

If you are unable to install one of these versions, you can make your extensions
catch all messages the server would process by checking the channel _begins_
with the expected channel name, for example:

```js
server.addExtension({
  incoming: function(message, callback) {
    if (message.channel.startsWith('/meta/subscribe')) {
      // authentication logic
    }
    callback(message);
  }
});
```

[1]: https://faye.jcoglan.com/
[2]: https://faye.jcoglan.com/node/extensions.html
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2020-11020
reference_id
reference_type
scores
0
value 0.00365
scoring_system epss
scoring_elements 0.58828
published_at 2026-06-07T12:55:00Z
1
value 0.00365
scoring_system epss
scoring_elements 0.58836
published_at 2026-06-06T12:55:00Z
2
value 0.00365
scoring_system epss
scoring_elements 0.58829
published_at 2026-06-05T12:55:00Z
3
value 0.00365
scoring_system epss
scoring_elements 0.58783
published_at 2026-06-04T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2020-11020
1
reference_url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11020
reference_id
reference_type
scores
url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11020
2
reference_url https://github.com/faye/faye
reference_id
reference_type
scores
0
value 8.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/faye/faye
3
reference_url https://github.com/faye/faye/commit/65d297d341b607f3cb0b5fa6021a625a991cc30e
reference_id
reference_type
scores
0
value 8.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/faye/faye/commit/65d297d341b607f3cb0b5fa6021a625a991cc30e
4
reference_url https://github.com/faye/faye/security/advisories/GHSA-qpg4-4w7w-2mq5
reference_id
reference_type
scores
0
value 8.5
scoring_system cvssv3
scoring_elements
1
value 8.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
2
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
3
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/faye/faye/security/advisories/GHSA-qpg4-4w7w-2mq5
5
reference_url https://github.com/rubysec/ruby-advisory-db/blob/master/gems/faye/CVE-2020-11020.yml
reference_id
reference_type
scores
0
value 8.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/rubysec/ruby-advisory-db/blob/master/gems/faye/CVE-2020-11020.yml
6
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959392
reference_id 959392
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959392
7
reference_url https://nvd.nist.gov/vuln/detail/CVE-2020-11020
reference_id CVE-2020-11020
reference_type
scores
0
value 8.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2020-11020
8
reference_url https://github.com/advisories/GHSA-qpg4-4w7w-2mq5
reference_id GHSA-qpg4-4w7w-2mq5
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-qpg4-4w7w-2mq5
fixed_packages
0
url pkg:npm/faye@1.0.4
purl pkg:npm/faye@1.0.4
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/faye@1.0.4
1
url pkg:npm/faye@1.1.3
purl pkg:npm/faye@1.1.3
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/faye@1.1.3
2
url pkg:npm/faye@1.2.5
purl pkg:npm/faye@1.2.5
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/faye@1.2.5
aliases CVE-2020-11020, GHSA-qpg4-4w7w-2mq5
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-t6zf-6pz1-4fhe
Fixing_vulnerabilities
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:npm/faye@0.6.4