Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. hoolock
  4. ›
  5. CVE-2024-23339

CVE-2024-23339: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

January 23, 2024

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) does 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.

References

  • github.com/advisories/GHSA-4c2g-hx49-7h25
  • github.com/elijahharry/hoolock/commit/97ae80e856774335d92743c635ffeae2f652b982
  • github.com/elijahharry/hoolock/security/advisories/GHSA-4c2g-hx49-7h25
  • nvd.nist.gov/vuln/detail/CVE-2024-23339

Code Behaviors & Features

Detect and mitigate CVE-2024-23339 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 before 2.2.1

Fixed versions

  • 2.2.1

Solution

Upgrade to version 2.2.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/hoolock/CVE-2024-23339.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:47 +0000.