4.6medium
Bostr Improper Authorization
- Severity
- 4.6medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-5cf7-cxrf-mq73
Description
Bostr is an nostr relay aggregator proxy that acts like a regular nostr relay. bostr let everyone in even having authorized_keys being set when noscraper is set to true. This vulnerability is fixed in 3.0.10.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Yonle bostr | < 3.0.10, before 3.0.10 | CVE List, NVD |
| bostr (npm) | before 3.0.10 | GitHub Advisory Database |
All scores
| GitHub_M | 4.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L |
| GitHub | 4.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L |
| GitHub | medium CVSS:4.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 |
| NVD | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Bostr is an nostr relay aggregator proxy that acts like a regular nostr relay. bostr let everyone in even having authorized_keys being set when noscraper is set to true. This vulnerability is fixed in 3.0.10.
GitHub Advisory Database
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.
NVD (es)
Bostr es un proxy agregador de retransmisión nostr que actúa como un retransmisión nostr normal. bostr permite que todos tengan incluso authorized_keys configuradas cuando noscraper está configurado en verdadero. Esta vulnerabilidad se solucionó en 3.0.10.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-41962 changed 2024-08-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5cf7-cxrf-mq73 changed 2024-08-02 | CC-BY-4.0 |
| NVD | CVE-2024-41962 changed 2026-06-17 | Public domain |