{"answers":{"affected":"2 open source packages ship an affected version, including basic-ftp.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-102990 exists.","fix":"Upgrade basic-ftp to 6.2.1 or later.","what":"CVE-2026-102990 is a high-severity denial of service vulnerability in patrickjuchli basic-ftp, published on 30 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-102990 and fix it if it is affected.\n\nWhat it is: CVE-2026-102990 is a high-severity denial of service vulnerability in patrickjuchli basic-ftp, published on 30 Sep 2026. 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-2026-102990 exists.\n\nAffected packages and fixed versions:\n- basic-ftp (npm): affected all versions; fixed in 6.2.1\n- basic-ftp (npm): affected all versions; fixed in 6.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-2026-102990/ (Markdown: https://insights.sbomify.com/CVE-2026-102990/index.md)","id":"CVE-2026-102990","markdown":"https://insights.sbomify.com/CVE-2026-102990/index.md","name":"CVE-2026-102990","record":{"aliases":["CLSA-2026-1792170033","CLSA-2026-1792170040","DEBIAN-CVE-2026-102990","ECHO-aca6-d26b-eefc","GHSA-c475-qrg2-pj4r","MINI-2h68-vvpj-gxfv","MINI-4fwg-4wqq-m78g","MINI-5jhf-98hq-6ghf","MINI-5r6w-2hr6-2rpc","MINI-6f44-4frh-8m5m","MINI-6rx8-c4f7-wvpx","MINI-83w4-556r-j4j8","MINI-95gj-cwr8-jvw4","MINI-9w72-fp5j-67f4","MINI-c7rh-fq28-mfcq","MINI-ff42-ch67-8mxq","MINI-hqqp-pjhr-66pr","MINI-prgf-p4hm-hwm4","MINI-q5wj-jh7j-rg6x","MINI-qhp4-r78x-3qjf","MINI-v6r6-wwv6-v535","MINI-vfjq-fg96-rcpw","MINI-w7q7-fh6h-4w25","ROOT-APP-NPM-CVE-2026-102990","UBUNTU-CVE-2026-102990"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js FTP client","requires_auth":"none","summary":"A malicious FTP server can cause a Node.js application using basic-ftp to hang via quadratic CPU time in directory listing parsing.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"description":"basic-ftp is an FTP client for Node.js. Prior to 6.2.1, Client.list() can be forced by a malicious or compromised FTP server to spend quadratic CPU time parsing a directory listing because the RE_LINE expression in src/parseListUnix.ts backtracks across adjacent variable-length owner and group fields when a long Unix-style line has a valid prefix but cannot satisfy the later size and date fields. parseList() selects a parser from the last nonblank line and then applies it to every line, so a normal final line can select the Unix parser while an earlier crafted line blocks the Node.js event loop and freezes the process. This issue is fixed in version 6.2.1.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"basic-ftp: Quadratic-time CPU denial of service in Client.list() Unix directory-listing parser (RE_LINE backtracking)","id":"CVE-2026-102990","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Mako: Path traversal via drive-letter URI on Windows in TemplateLookup","id":"CVE-2026-102991"},"packages":[{"ecosystem":"npm","fixed":["6.2.1"],"introduced":["0"],"last_affected":[],"package":"basic-ftp","purl":null,"source":"GHSA-c475-qrg2-pj4r"},{"ecosystem":"npm","fixed":["6.2.1"],"introduced":["0"],"last_affected":[],"package":"basic-ftp","purl":"pkg:npm/basic-ftp","source":"GHSA-c475-qrg2-pj4r"}],"prev":{"headline":"TanStack Router: Unauthenticated reflected XSS in TanStack Start server-function responses","id":"CVE-2026-102989"},"products":["basic-ftp"],"published":"2026-09-30","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-30","vendors":["patrickjuchli"]},"summary":"A malicious FTP server can cause a Node.js application using basic-ftp to hang via quadratic CPU time in directory listing parsing.","url":"https://insights.sbomify.com/CVE-2026-102990/"}