Skip to content
OpenAdvisories
Critical GHSA-q849-wxrc-vqrp

hull.js Code Injection Vulnerability

Published Dec 2, 2024 · Assigned by GHSA

Description

Versions of the library from 0.2.2 to 1.0.9 are vulnerable to the arbitrary code execution due to unsafe usage of `new Function(...)` in the module that handles points format. Applications passing the 3rd parameter to the `hull` function without sanitising may be impacted. The vulnerability has been fixed in version 1.0.10, please update the library. Check project homepage on GitHub to see how to fetch the latest version: https://github.com/andriiheonia/hull?tab=readme-ov-file#npm-package

Affected packages

EcosystemPackageAffectedFixedRecord
npm hull.js >= 0.2.2, < 1.0.10 1.0.10 GHSA-q849-wxrc-vqrp

References