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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | bostr | < 3.0.10 | 3.0.10 |
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
- https://github.com/Yonle/bostr/blob/8665374a66e2afb9f92d0414b0d6f420a95d5d2d/auth.js#L21
- https://github.com/Yonle/bostr/releases/tag/3.0.10
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L- Weakness (CWE)
CWE-285- Platform
- npm
- Package
bostr- Disclosed
- 02.08.2024
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-5cf7-cxrf-mq73 - CC BY 4.0
Vulnerability history: bostr
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.