{"answers":{"affected":"2 open source packages ship an affected version, including node and node-min.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-23165 exists.","fix":"Upgrade node to a fixed version for your release line: 20.19.2 or 22.15.1.","what":"CVE-2025-23165 is a low-severity denial of service vulnerability in nodejs node, published on 19 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-23165 and fix it if it is affected.\n\nWhat it is: CVE-2025-23165 is a low-severity denial of service vulnerability in nodejs node, published on 19 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-23165 exists.\n\nAffected packages and fixed versions:\n- node (Bitnami): affected all versions; fixed in 20.19.2, 22.15.1\n- node-min (Bitnami): affected all versions; fixed in 20.19.2, 22.15.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-2025-23165/ (Markdown: https://insights.sbomify.com/CVE-2025-23165/index.md)","id":"CVE-2025-23165","markdown":"https://insights.sbomify.com/CVE-2025-23165/index.md","name":"CVE-2025-23165","record":{"aliases":["ALPINE-CVE-2025-23165","AZL-61913","BELL-CVE-2025-23165","BIT-node-2025-23165","BIT-node-min-2025-23165","DEBIAN-CVE-2025-23165","GHSA-gcf6-vgcr-474f","MINI-655w-5rhh-237h","MINI-c52x-7wfp-m9f3","MINI-qjxv-6f25-27wj","MINI-rhc5-hq55-8g57"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js runtime","requires_auth":"none","summary":"A memory leak in Node.js ReadFileUtf8 binding allows attackers to cause unbounded memory growth and denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hackerone","cpe":[],"cvss":{"score":3.7,"severity":"low","source":"cna","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.0"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"description":"In Node.js, the `ReadFileUtf8` internal binding leaks memory due to a corrupted pointer in `uv_fs_s.file`: a UTF-16 path buffer is allocated but subsequently overwritten when the file descriptor is set. This results in an unrecoverable memory leak on every call. Repeated use can cause unbounded memory growth, leading to a denial of service.\r\n\r\nImpact:\r\n* This vulnerability affects APIs relying on `ReadFileUtf8` on Node.js release lines: v20 and v22.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Denial of service in node","id":"CVE-2025-23165","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":2,"n_references":1,"next":{"headline":"Denial of service in node","id":"CVE-2025-23166"},"packages":[{"ecosystem":"Bitnami","fixed":["20.19.2","22.15.1"],"introduced":["0","21.0.0"],"last_affected":[],"package":"node","purl":"pkg:bitnami/node","source":"BIT-node-2025-23165"},{"ecosystem":"Bitnami","fixed":["20.19.2","22.15.1"],"introduced":["0","21.0.0"],"last_affected":[],"package":"node-min","purl":"pkg:bitnami/node-min","source":"BIT-node-min-2025-23165"}],"prev":{"headline":"Missing authorization in UniFi Protect Application","id":"CVE-2025-23164"},"products":["node"],"published":"2025-05-19","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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-28","vendors":["nodejs"]},"summary":"A memory leak in Node.js ReadFileUtf8 binding allows attackers to cause unbounded memory growth and denial of service.","url":"https://insights.sbomify.com/CVE-2025-23165/"}