nostr is vulnerable to Denial of Service
75
High Risk
The NIP-50 event-matching path searches event content using a sliding window sized from the search string length. An empty search string produces a zero-sized window, which always panics instead of returning a result. A remote client that can submit filters, including clients querying an SDK local relay, can trigger the panic with an empty search value and terminate request processing, a worker, or the whole process. The fix handles empty searches before the substring search so the matcher returns a defined result without panicking.
You are affected if you are using a version that falls within the vulnerable range and your application matches NIP-50 search filters supplied by remote clients.
nostr is vulnerable to Denial of Service in versions 0.39.0 - 0.44.6.
Upgrade the nostr library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant