Source: node-proxy-agents X-Debbugs-CC: [email protected] Severity: important Tags: security
Hi, The following vulnerabilities were published for node-proxy-agents. CVE-2026-126345[0]: | basic-ftp is an FTP client for Node.js. Prior to 6.2.4, the MLSD | directory-listing parser in src/parseListMLSD.ts uses untrusted fact | names from the FTP server as keys in the plain-object | factHandlersByName dictionary without checking that the resolved | property is an own handler. A fact named __proto__ therefore | resolves to Object.prototype, bypasses the missing-handler guard, | and is called as though it were a function, producing a TypeError. | The error propagates through Client.list() and APIs that depend on | it because it is not an FTPError. A malicious or compromised FTP | server, or an on-path attacker on a plaintext FTP session, can make | the affected operation reject, and the Node.js process terminates | under the default behavior in Node.js 15 and later only if the | application leaves that rejection unhandled. This issue is fixed in | version 6.2.4. https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-5pm8-86m8-9m6r https://github.com/patrickjuchli/basic-ftp/commit/a22664a45d889f7d281e5bdd212c68c0a58d0ae6 (v6.2.4) CVE-2026-126346[1]: | basic-ftp is an FTP client for Node.js. Prior to 6.2.3, | FTPContext.send() throws when a command contains carriage return, | line feed, or NUL characters, but calls made from response handlers | execute synchronously inside the control socket's data event without | an exception boundary. In Client.login(), an attacker-influenced | password reaches the PASS command after a server sends a 331 | response, and in a resumed download an attacker-influenced remote | path reaches the RETR command after a 350 response to REST. The | resulting exception does not reject client.access() or downloadTo(), | escapes ordinary promise error handling, and terminates the Node.js | process, while the validation guard still prevents command | injection. This issue is fixed in version 6.2.3. https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-r4jh-29pc-gfqr https://github.com/patrickjuchli/basic-ftp/commit/0495b906bdf891e68806721b07b333dba65ec88e (v6.2.3) If you fix the vulnerabilities please also make sure to include the CVE (Common Vulnerabilities & Exposures) ids in your changelog entry. For further information see: [0] https://security-tracker.debian.org/tracker/CVE-2026-126345 https://www.cve.org/CVERecord?id=CVE-2026-126345 [1] https://security-tracker.debian.org/tracker/CVE-2026-126346 https://www.cve.org/CVERecord?id=CVE-2026-126346 Please adjust the affected versions in the BTS as needed.

