GHSA-w48f-fwg7-ww6p: @stablelib/cbor: Prototype poisoning via `__proto__` map keys in CBOR decoding
(updated )
@stablelib/cbor decodes CBOR maps into ordinary JavaScript objects and assigns attacker-controlled keys directly onto those objects. A CBOR map key named __proto__ therefore changes the prototype of the decoded object instead of becoming an ordinary data property.
References
Code Behaviors & Features
Detect and mitigate GHSA-w48f-fwg7-ww6p with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →