basic-ftp is an FTP client for Node.js. Prior to 5.3.1, basic-ftp is vulnerable to client-side denial of service when parsing FTP control-channel multiline responses. A malicious or compromised FTP server can send an unterminated multiline response during the initial FTP banner phase, before authentication. The client keeps appending attacker-controlled data into FtpContext._partialResponse and repeatedly reparses the accumulated buffer without enforcing a maximum control response size. As a result, an application using basic-ftp can remain stuck in connect() while memory and CPU usage grow under attacker-controlled input. This can lead to process-level denial of service, container OOM kills, worker restarts, queue backlog, or service degradation in applications that automatically connect to FTP endpoints. This vulnerability is fixed in 5.3.1.
{
"binaries": [
{
"binary_name": "node-agent-base",
"binary_version": "7.1.0~0~2023071921-5"
},
{
"binary_name": "node-args",
"binary_version": "5.0.3~0~2023071921-5"
},
{
"binary_name": "node-basic-ftp",
"binary_version": "5.0.3~0~2023071921-5"
},
{
"binary_name": "node-data-uri-to-buffer",
"binary_version": "5.0.1~0~2023071921-5"
},
{
"binary_name": "node-degenerator",
"binary_version": "5.0.1~0~2023071921-5"
},
{
"binary_name": "node-get-uri",
"binary_version": "6.0.1~0~2023071921-5"
},
{
"binary_name": "node-http-proxy-agent",
"binary_version": "7.0.0~0~2023071921-5"
},
{
"binary_name": "node-https-proxy-agent",
"binary_version": "7.0.1~0~2023071921-5"
},
{
"binary_name": "node-pac-proxy-agent",
"binary_version": "7.0.0~0~2023071921-5"
},
{
"binary_name": "node-pac-resolver",
"binary_version": "7.0.0~0~2023071921-5"
},
{
"binary_name": "node-proxy",
"binary_version": "2.1.1~0~2023071921-5"
},
{
"binary_name": "node-proxy-agent",
"binary_version": "6.3.0~0~2023071921-5"
},
{
"binary_name": "node-socks-proxy-agent",
"binary_version": "8.0.1~0~2023071921-5"
}
]
}
{
"binaries": [
{
"binary_name": "node-agent-base",
"binary_version": "7.1.4~0~2025070717-2"
},
{
"binary_name": "node-args",
"binary_version": "5.0.3~0~2025070717-2"
},
{
"binary_name": "node-basic-ftp",
"binary_version": "5.0.5~0~2025070717-2"
},
{
"binary_name": "node-data-uri-to-buffer",
"binary_version": "6.0.2~0~2025070717-2"
},
{
"binary_name": "node-degenerator",
"binary_version": "5.0.1~0~2025070717-2"
},
{
"binary_name": "node-get-uri",
"binary_version": "6.0.5~0~2025070717-2"
},
{
"binary_name": "node-http-proxy-agent",
"binary_version": "7.0.2~0~2025070717-2"
},
{
"binary_name": "node-https-proxy-agent",
"binary_version": "7.0.6~0~2025070717-2"
},
{
"binary_name": "node-pac-proxy-agent",
"binary_version": "7.2.0~0~2025070717-2"
},
{
"binary_name": "node-pac-resolver",
"binary_version": "7.0.1~0~2025070717-2"
},
{
"binary_name": "node-proxy",
"binary_version": "2.2.0~0~2025070717-2"
},
{
"binary_name": "node-proxy-agent",
"binary_version": "6.5.0~0~2025070717-2"
},
{
"binary_name": "node-socks-proxy-agent",
"binary_version": "8.0.5~0~2025070717-2"
}
]
}
{
"binaries": [
{
"binary_name": "node-agent-base",
"binary_version": "7.1.4~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-args",
"binary_version": "5.0.3~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-basic-ftp",
"binary_version": "5.2.0~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-data-uri-to-buffer",
"binary_version": "6.0.2~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-degenerator",
"binary_version": "5.0.1~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-get-uri",
"binary_version": "6.0.5~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-http-proxy-agent",
"binary_version": "7.0.2~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-https-proxy-agent",
"binary_version": "7.0.6~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-pac-proxy-agent",
"binary_version": "7.2.0~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-pac-resolver",
"binary_version": "7.0.1~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-proxy",
"binary_version": "2.2.0~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-proxy-agent",
"binary_version": "6.5.0~0~2025070717+~cs15.2.7-1build1"
},
{
"binary_name": "node-socks-proxy-agent",
"binary_version": "8.0.5~0~2025070717+~cs15.2.7-1build1"
}
]
}