CVE-2024-41962
JavaScript vulnerability analysis and mitigation

Overview

CVE-2024-41962 affects Bostr, a nostr relay aggregator proxy that acts like a regular nostr relay. The vulnerability was discovered and disclosed on August 1, 2024, affecting versions prior to 3.0.10. The issue allows unauthorized access even when authorized_keys are set if the noscraper feature is enabled (GitHub Advisory, NVD).

Technical details

The vulnerability stems from an improper authorization implementation in the auth.js file. When noscraper is set to true, the system incorrectly allows access to all users, bypassing the authorized_keys check. The vulnerability has been assigned a CVSS v3.1 base score of 6.3 (MEDIUM) by NVD with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L, while GitHub assessed it at 4.6 (MEDIUM) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L (NVD).

Impact

The vulnerability primarily affects private bouncers using the Bostr relay. When exploited, it allows unauthorized users to access the relay even when they are not listed in the authorized_keys configuration, effectively bypassing access controls (GitHub Advisory).

Exploitability

The vulnerability can be exploited remotely by an attacker with low attack complexity. It requires low privileges but may need user interaction according to GitHub's assessment. The vulnerability exists in the authentication mechanism when the noscraper feature is enabled (GitHub Advisory).

Mitigation and workarounds

Users are advised to upgrade to version 3.0.10 which contains the fix. As a temporary workaround, users can disable the noscraper feature if they have authorized_keys set in their configuration. The fix can be applied through npm using 'npm upgrade bostr@3.0.10' or through source using 'git pull && npm install' (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-48170CRITICAL9.1
  • JavaScript logoJavaScript
  • scim-patch
NoYesAug 07, 2026
CVE-2026-48007HIGH8.6
  • JavaScript logoJavaScript
  • @element-hq/element-call-embedded
NoYesAug 07, 2026
CVE-2026-69207MEDIUM5.3
  • JavaScript logoJavaScript
  • hono
NoYesAug 07, 2026
CVE-2026-71850MEDIUM4.8
  • JavaScript logoJavaScript
  • hono
NoYesAug 07, 2026
CVE-2026-71849LOW3.7
  • JavaScript logoJavaScript
  • hono
NoYesAug 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management