Improper Authorization Affecting bostr package, versions <3.0.10


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-BOSTR-7577964
  • published2 Aug 2024
  • disclosed2 Aug 2024
  • creditcxplay

Introduced: 2 Aug 2024

CVE-2024-41962  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade bostr to version 3.0.10 or higher.

Overview

bostr is a Nostr relay bouncer

Affected versions of this package are vulnerable to Improper Authorization due to the auth.js process. An attacker can bypass access restrictions by exploiting the noscraper setting even when authorized_keys is configured with allowed public keys.

CVSS Scores

version 4.0
version 3.1