{"id":"GHSA-5cf7-cxrf-mq73","summary":"Bostr Improper Authorization vulnerability","details":"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`.\n\n### Impact\n- Private bouncer\n\n### Patches\nAvailable on version [3.0.10](https://github.com/Yonle/bostr/releases/tag/3.0.10)\n\n### Workarounds\nDisable `noscraper` if you have `authorized_keys` being set in config\n\n### References\nThis [line of code](https://github.com/Yonle/bostr/blob/8665374a66e2afb9f92d0414b0d6f420a95d5d2d/auth.js#L21) is the cause.","aliases":["CVE-2024-41962"],"modified":"2024-08-02T16:02:10Z","published":"2024-08-02T01:20:13Z","database_specific":{"nvd_published_at":"2024-08-01T17:16:09Z","cwe_ids":["CWE-285"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-08-02T01:20:13Z"},"references":[{"type":"WEB","url":"https://github.com/Yonle/bostr/security/advisories/GHSA-5cf7-cxrf-mq73"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41962"},{"type":"WEB","url":"https://github.com/Yonle/bostr/commit/49181f4ec9ae1472c6675cab56bbc01e723855af"},{"type":"PACKAGE","url":"https://github.com/Yonle/bostr"},{"type":"WEB","url":"https://github.com/Yonle/bostr/blob/8665374a66e2afb9f92d0414b0d6f420a95d5d2d/auth.js#L21"},{"type":"WEB","url":"https://github.com/Yonle/bostr/releases/tag/3.0.10"}],"affected":[{"package":{"name":"bostr","ecosystem":"npm","purl":"pkg:npm/bostr"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.0.10"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-5cf7-cxrf-mq73/GHSA-5cf7-cxrf-mq73.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"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"}]}