{"answers":{"affected":"2 open source packages ship an affected version, including node and node-min.","exploited":"There is no known exploitation of CVE-2024-37372 in the wild and no public exploit code.","fix":"Upgrade node to a fixed version for your release line: 20.15.1 or 22.4.1.","what":"CVE-2024-37372 is a low-severity path traversal vulnerability in NodeJS Node, published on 9 Jan 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-37372 and fix it if it is affected.\n\nWhat it is: CVE-2024-37372 is a low-severity path traversal vulnerability in NodeJS Node, published on 9 Jan 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-37372 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- node (Bitnami): affected from 19.0.0; fixed in 20.15.1, 22.4.1\n- node-min (Bitnami): affected from 19.0.0; fixed in 20.18.1, 22.12.0\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-37372/ (Markdown: https://insights.sbomify.com/CVE-2024-37372/index.md)","id":"CVE-2024-37372","markdown":"https://insights.sbomify.com/CVE-2024-37372/index.md","name":"CVE-2024-37372","record":{"aliases":["BIT-node-2024-37372","BIT-node-min-2024-37372","CLEANSTART-2026-TE76702","GHSA-7975-2qr9-g542"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Node.js runtime","requires_auth":"none","summary":"Attackers can bypass path restrictions in the Node.js Permission Model by exploiting backslash handling, potentially reading or modifying unauthorized files.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hackerone","cpe":[],"cvss":{"score":3.6,"severity":"low","source":"cna","vector":"CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"The Permission Model assumes that any path starting with two backslashes \\ has a four-character prefix that can be ignored, which is not always true. This subtle bug leads to vulnerable edge cases.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Path traversal in Node","id":"CVE-2024-37372","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":2,"n_references":2,"next":{"headline":"Code injection in Avalanche","id":"CVE-2024-37373"},"packages":[{"ecosystem":"Bitnami","fixed":["20.15.1","22.4.1"],"introduced":["19.0.0","21.0.0"],"last_affected":[],"package":"node","purl":"pkg:bitnami/node","source":"BIT-node-2024-37372"},{"ecosystem":"Bitnami","fixed":["20.18.1","22.12.0"],"introduced":["19.0.0","21.0.0"],"last_affected":[],"package":"node-min","purl":"pkg:bitnami/node-min","source":"BIT-node-min-2024-37372"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2024-37371"},"products":["Node"],"published":"2025-01-09","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-02","vendors":["NodeJS"]},"summary":"Attackers can bypass path restrictions in the Node.js Permission Model by exploiting backslash handling, potentially reading or modifying unauthorized files.","url":"https://insights.sbomify.com/CVE-2024-37372/"}