logo

CVE-2024-41962 bostr

Package

Manager: npm
Name: bostr
Vulnerable Version: >=0 <3.0.10

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

EPSS: 0.00187 pctl0.40793

Details

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](https://github.com/Yonle/bostr/releases/tag/3.0.10) ### Workarounds Disable `noscraper` if you have `authorized_keys` being set in config ### References This [line of code](https://github.com/Yonle/bostr/blob/8665374a66e2afb9f92d0414b0d6f420a95d5d2d/auth.js#L21) is the cause.

Metadata

Created: 2024-08-02T01:20:13Z
Modified: 2024-08-02T16:02:10Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-5cf7-cxrf-mq73/GHSA-5cf7-cxrf-mq73.json
CWE IDs: ["CWE-285"]
Alternative ID: GHSA-5cf7-cxrf-mq73
Finding: F039
Auto approve: 1