Nostr.Sdk is vulnerable to Improper Verification of Data Authenticity
75
CVE Score
High
Improper Verification of Data Authenticity
The relay pool passes events received from a relay through admission-policy and database paths before confirming that the serialized fields match the claimed event id and signature, and a database result for the claimed id can cause verification to be skipped. The verification cache also keys successful checks by a 64-bit hash rather than the full event id. A malicious relay can send an event whose claimed id matches a known database entry while its content, tags, author, or signature differ, so a forged event reaches policy callbacks or other processing as authentic, with a cache-key collision offering a second bypass path. The fix verifies each event before policy evaluation, database lookup, or propagation and stores the complete event id in the verification cache.
Upgrade the Nostr.Sdk library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application processes or persists events received from untrusted relays.
0.40.0 - 0.44.7
Fixed in 0.44.8Nostr.Sdk is vulnerable to Improper Verification of Data Authenticity in versions 0.40.0 - 0.44.7.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.