# GHSA-q849-wxrc-vqrp: hull.js Code Injection Vulnerability

- Severity: Critical (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-12-02T20:11:39.000Z
- Modified: 2024-12-02T20:11:39.000Z
- Weaknesses: CWE-94

## 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

(As written by GitHub Advisory Database.)

## Affected

- hull.js (npm): from 0.2.2 before 1.0.10

## References

- <https://github.com/AndriiHeonia/hull/security/advisories/GHSA-q849-wxrc-vqrp> (web)
- <https://github.com/AndriiHeonia/hull/commit/9de6f9549b74fbb68bf4d5a449147b4c1d7cda0a> (web)
- <https://github.com/AndriiHeonia/hull> (package)

## Sources

- GitHub Advisory Database: [GHSA-q849-wxrc-vqrp](https://github.com/advisories/GHSA-q849-wxrc-vqrp), CC-BY-4.0, modified 2024-12-02

---

Page: https://cve.day/GHSA-q849-wxrc-vqrp · Whole record: https://cve.day/GHSA-q849-wxrc-vqrp.json · Rebuilt by cve.day 2026-11-25T22:56:46.255Z
