← VULNERABILITIES

DHI-fbnd-hqiz-ahaw-m746

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…

Unscored
CVSS
—
EPSS
—
Published
2026-11-20
Age
11d old
Modified
2026-11-27
Product
directus-12

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.

Sources

  • OSV · first seen 11d ago · CC-BY 4.0

References

JSON