Vulnerability · Published Jan 22, 2024 · Assigned by GitHub_M
CVE-2024-23339hoolock does not block Prototype pollution with object-path related utilities
Medium 6.3
In plain English
A medium-severity prototype pollution in hoolock from elijahharry. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
hoolock is a suite of lightweight utilities designed to maintain a small footprint when bundled. Starting in version 2.0.0 and prior to version 2.2.1, utility functions related to object paths (`get`, `set`, and `update`) did not block attempts to access or alter object prototypes. Starting in version 2.2.1, the `get`, `set` and `update` functions throw a `TypeError` when a user attempts to access or alter inherited properties.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | hoolock | 2.2.1 | GHSA-4c2g-hx49-7h25 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| elijahharry | hoolock | >= 2.0.0, < 2.2.1 |
Weakness: CWE-1321 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L