opensea-js is vulnerable to Integer Overflow
53
Medium Risk
Affected versions of this package contain an integer overflow, where the Transaction.value field is typed as number in TypeScript, but JavaScript's Number type cannot safely represent integers above 2^53-1, causing large wei values from API responses to overflow into incorrect or negative numbers during JSON parsing. An attacker can exploit this by crafting orders with sufficiently large values that exceed the safe integer limit, leading to an overflow and a negative parsed value, which may result in underpayment, unintended transaction execution, or financial loss due to misinterpreted values in the fulfillOrder function.
You are affected if you are using a vulnerable version of the package.
opensea-js is vulnerable to Integer Overflow in versions 4.0.22 - 8.0.9.
Upgrade the opensea-js library to the patch version.
Secure your code, cloud, and runtime environments in one central system. Find and fix vulnerabilities automatically.
No credit card required | Scan results in 32secs.
SOC 2Compliant
ISO 27001Compliant