Aller au contenu
8.6 Élevée

CVE-2026-39983 basic-ftp is an FTP client for Node.js

Description

basic-ftp is an FTP client for Node.js. Prior to 5.2.1, basic-ftp allows FTP command injection via CRLF sequences (\r\n) in file path parameters passed to high-level path APIs such as cd(), remove(), rename(), uploadFrom(), downloadTo(), list(), and removeDir(). The library's protectWhitespace() helper only handles leading spaces and returns other paths unchanged, while FtpContext.send() writes the resulting command string directly to the control socket with \r\n appended. This lets attacker-controlled path strings split one intended FTP command into multiple commands. This vulnerability is fixed in 5.2.1.

Produits et versions touchés

Produit Versions touchées Corrigé en
basic-ftp 5.2 premières → < 5.2.1 5.2.1
Red Hat Developer Hub 1.8 1776784286 premières → < 1776784286 1776784286
Red Hat Developer Hub 1.9 1777903262 premières → < 1777903262 1777903262
Red Hat OpenShift Container Platform 4 Versions non publiées
Self-service automation portal 2 Versions non publiées
Red Hat OpenShift AI (RHOAI) Versions non publiées

Références

Chronologie

  1. Publiée
  2. Dernière modification
Les 5 CVE de basic-ftp →
Suivre cette CVE