Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS01Y2Y3LWN4cmYtbXE3M84AA-Vi
Bostr Improper Authorization vulnerability
Even with authorized_keys
is filled with allowed pubkeys, If noscraper
is enabled, It will allow anyone to use bouncer even it's pubkey is not in authorized_keys
.
Impact
- Private bouncer
Patches
Available on version 3.0.10
Workarounds
Disable noscraper
if you have authorized_keys
being set in config
References
This line of code is the cause.
Permalink: https://github.com/advisories/GHSA-5cf7-cxrf-mq73JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS01Y2Y3LWN4cmYtbXE3M84AA-Vi
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 4 months ago
Updated: 4 months ago
CVSS Score: 4.6
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
Identifiers: GHSA-5cf7-cxrf-mq73, CVE-2024-41962
References:
- https://github.com/Yonle/bostr/security/advisories/GHSA-5cf7-cxrf-mq73
- https://nvd.nist.gov/vuln/detail/CVE-2024-41962
- https://github.com/Yonle/bostr/commit/49181f4ec9ae1472c6675cab56bbc01e723855af
- https://github.com/Yonle/bostr/blob/8665374a66e2afb9f92d0414b0d6f420a95d5d2d/auth.js#L21
- https://github.com/Yonle/bostr/releases/tag/3.0.10
- https://github.com/advisories/GHSA-5cf7-cxrf-mq73
Blast Radius: 1.0
Affected Packages
npm:bostr
Dependent packages: 0Dependent repositories: 0
Downloads: 22 last month
Affected Version Ranges: < 3.0.10
Fixed in: 3.0.10
All affected versions: 2.0.5, 2.0.7, 2.0.8, 2.0.9, 2.0.10, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.0.8, 3.0.9
All unaffected versions: 3.0.10