{"answers":{"affected":"2 open source packages ship an affected version, including bostr. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-41962 in the wild and no public exploit code.","fix":"Upgrade bostr to 3.0.10 or later.","what":"CVE-2024-41962 is a medium-severity missing authorization vulnerability in Yonle bostr, published on 1 Aug 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-41962 and fix it if it is affected.\n\nWhat it is: CVE-2024-41962 is a medium-severity missing authorization vulnerability in Yonle bostr, published on 1 Aug 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-41962 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- bostr (npm): affected all versions; fixed in 3.0.10\n- bostr (npm): affected all versions; fixed in 3.0.10\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-41962/ (Markdown: https://insights.sbomify.com/CVE-2024-41962/index.md)","id":"CVE-2024-41962","markdown":"https://insights.sbomify.com/CVE-2024-41962/index.md","name":"CVE-2024-41962","record":{"aliases":["GHSA-5cf7-cxrf-mq73"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Nostr relay proxy","requires_auth":"low_privilege","summary":"Attackers can bypass authorization checks in Bostr when noscraper is enabled, allowing unauthorized access to the relay service.","user_interaction":"required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"bostr","vendor":"yonle"}],"cvss":{"score":4.6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Bostr Improper Authorization","id":"CVE-2024-41962","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":2,"n_references":4,"next":{"headline":"Insufficient permission checks in the language settings in Kirby CMS","id":"CVE-2024-41964"},"packages":[{"ecosystem":"npm","fixed":["3.0.10"],"introduced":["0"],"last_affected":[],"package":"bostr","purl":null,"source":"GHSA-5cf7-cxrf-mq73"},{"ecosystem":"npm","fixed":["3.0.10"],"introduced":["0"],"last_affected":[],"package":"bostr","purl":"pkg:npm/bostr","source":"GHSA-5cf7-cxrf-mq73"}],"prev":{"headline":"Elektra vulnerable to remote code execution in universal search","id":"CVE-2024-41961"},"products":["bostr"],"published":"2024-08-01","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["Yonle"]},"summary":"Attackers can bypass authorization checks in Bostr when noscraper is enabled, allowing unauthorized access to the relay service.","url":"https://insights.sbomify.com/CVE-2024-41962/"}