superjson is vulnerable to Denial of Service (DoS)
35
Low Risk
Affected versions of this package are vulnerable to a Denial of Service (DoS) due to the lack of bounds checking on n when traversing a Map to retrieve the nth item. Without validation, an excessively large n can exhaust the iterator, leading to excessive resource consumption. Since this function is used in multiple locations, malicious actors can exploit it to disrupt system performance.
You are affected if you are using a version that falls within the vulnerable range.
superjson is vulnerable to Denial of Service (DoS) in versions 1.2.0 - 2.2.1.
Upgrade the superjson 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.

SOC 2Compliant
ISO 27001Compliant