Опубликовано: 02 авг. 2024
Источник: github
Github: Прошло ревью
CVSS4: 5.1
CVSS3: 4.6
Описание
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.
Ссылки
- 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
Пакеты
Наименование
bostr
npm
Затронутые версииВерсия исправления
< 3.0.10
3.0.10
Связанные уязвимости
CVSS3: 4.6
nvd
больше 1 года назад
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.