CVE-2024-23339
JSON

6.3medium

hoolock does not block Prototype pollution with object-path related utilities

Severity
6.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
1.29% (higher than 70% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-4c2g-hx49-7h25

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

Product or packageVersionsReported by
elijahharry hoolock>= 2.0.0, < 2.2.1, from 2.0.0 before 2.2.1CVE List, NVD
hoolock (npm)from 2.0.0 before 2.2.1GitHub Advisory Database

All scores

GitHub_M6.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
GitHub6.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-1321

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Impact

Utility functions related to object paths (get, set and update) did not block attempts to access or alter object prototypes.

Patches

The get, set and update functions will throw a TypeError when a user attempts to access or alter inherited properties in versions >=2.2.1.

NVD (es)

hoolock es un conjunto de utilidades livianas manipuladas para ocupar poco espacio cuando se incluyen en paquete. A partir de la versión 2.0.0 y antes de la versión 2.2.1, las funciones de utilidad relacionadas con las rutas de los objetos (`get`, `set` y `update`) no bloqueaban los intentos de acceder o alterar los prototipos de objetos. A partir de la versión 2.2.1, las funciones `get`, `set` y `update` arrojan un `TypeError` cuando un usuario intenta acceder o modificar propiedades heredadas.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-23339 changed 2025-06-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-4c2g-hx49-7h25 changed 2024-01-23CC-BY-4.0
NVDCVE-2024-23339 changed 2026-06-17Public domain