{"answers":{"affected":"2 open source packages ship an affected version, including hoolock. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-23339 in the wild and no public exploit code.","fix":"Upgrade hoolock to 2.2.1 or later.","what":"CVE-2024-23339 is a medium-severity vulnerability in elijahharry hoolock, published on 22 Jan 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-23339 and fix it if it is affected.\n\nWhat it is: CVE-2024-23339 is a medium-severity vulnerability in elijahharry hoolock, published on 22 Jan 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-23339 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- hoolock (npm): affected from 2.0.0; fixed in 2.2.1\n- hoolock (npm): affected from 2.0.0; fixed in 2.2.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-23339/ (Markdown: https://insights.sbomify.com/CVE-2024-23339/index.md)","id":"CVE-2024-23339","markdown":"https://insights.sbomify.com/CVE-2024-23339/index.md","name":"CVE-2024-23339","record":{"aliases":["GHSA-4c2g-hx49-7h25"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript utility library","requires_auth":"none","summary":"Prototype pollution in hoolock allows attackers to modify object prototypes, potentially leading to code execution or privilege escalation.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"hoolock","vendor":"elijahharry"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2024-08-21","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-08-21T05:03:32Z","kind":"github_poc","ref":"https://github.com/200101WhoAmI/CVE-2024-23339","stars":0,"title":"pp"}],"tier":"poc_unverified"},"has_fix":true,"headline":"hoolock does not block Prototype pollution with object-path related utilities","id":"CVE-2024-23339","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2024"},"n_packages":2,"n_references":2,"next":{"headline":"@hono/node-server can't handle \"double dots\" in URL","id":"CVE-2024-23340"},"packages":[{"ecosystem":"npm","fixed":["2.2.1"],"introduced":["2.0.0"],"last_affected":[],"package":"hoolock","purl":null,"source":"GHSA-4c2g-hx49-7h25"},{"ecosystem":"npm","fixed":["2.2.1"],"introduced":["2.0.0"],"last_affected":[],"package":"hoolock","purl":"pkg:npm/hoolock","source":"GHSA-4c2g-hx49-7h25"}],"prev":{"headline":"jq has signed integer overflow in jv.c:jvp_array_write","id":"CVE-2024-23337"},"products":["hoolock"],"published":"2024-01-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-17","vendors":["elijahharry"]},"summary":"Prototype pollution in hoolock allows attackers to modify object prototypes, potentially leading to code execution or privilege escalation.","url":"https://insights.sbomify.com/CVE-2024-23339/"}