CVE-2024-23339
Published: 22 January 2024
Summary
CVE-2024-23339 is a medium-severity Prototype Pollution (CWE-1321) vulnerability in Elijahharry Hoolock. Its CVSS base score is 6.3 (Medium).
Operationally, ranked in the top 6.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
hoolock is a lightweight JavaScript utility library whose object-path functions get, set, and update were affected by a prototype-pollution flaw (CWE-1321). Versions 2.0.0 through 2.2.0 accepted attacker-controlled property paths without validating whether the target was an inherited prototype property, allowing direct read or write access to Object.prototype.
An unauthenticated remote attacker who can supply a crafted path argument—typically through user-controlled input processed by one of these functions—can add or modify properties on the global Object prototype. Successful exploitation yields limited impacts on confidentiality, integrity, and availability, consistent with the reported CVSS 6.3 vector that requires user interaction but no privileges.
The project’s security advisory GHSA-4c2g-hx49-7h25 and the associated commit 97ae80e instruct users to upgrade to version 2.2.1 or later; the patched functions now throw a TypeError whenever an operation targets an inherited property, eliminating the prototype-pollution vector.
EPSS scores have remained flat at 0.1234 with no material increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-0244
Vulnerability details
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…
more
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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
No mitigating controls mapped yet. The per-CVE control annotator has not reached this CVE.