Improper Authorization Affecting bostr package, versions <3.0.10


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.06% (28th 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 ID SNYK-JS-BOSTR-7577964
  • published 2 Aug 2024
  • disclosed 2 Aug 2024
  • credit cxplay

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
Expand this section

Snyk

Recommended
5.1 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    Passive
  • Confidentiality (VC)
    None
  • Integrity (VI)
    Low
  • Availability (VA)
    Low
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None