Repository navigation
chore(deps): update dependency basic-ftp@<5.2.0 to v6 [security] - #6441
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 25, 2026 04:42
de5ab14 to
cb758ee
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 25, 2026 10:10
cb758ee to
b48af13
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 25, 2026 12:35
b48af13 to
2bbf267
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 25, 2026 17:20
2bbf267 to
bf6e47b
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 25, 2026 21:59
bf6e47b to
c8c58eb
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 26, 2026 02:14
c8c58eb to
2795c55
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 26, 2026 06:16
2795c55 to
ab0f36c
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 26, 2026 08:36
ab0f36c to
1b695ee
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 26, 2026 13:10
1b695ee to
56ed3ef
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 26, 2026 23:46
56ed3ef to
ad86484
Compare
|
✅ Meticulous spotted 0 visual differences across 14 screens tested: view results. Meticulous evaluated ~4 hours of user flows against your PR. Expected differences? Click here. Last updated for commit |
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 27, 2026 03:08
ad86484 to
196b8f8
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 27, 2026 06:21
196b8f8 to
982bd29
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 27, 2026 09:44
982bd29 to
38d193f
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 27, 2026 16:10
38d193f to
1376ff4
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 28, 2026 06:57
e17a9aa to
714bba6
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 28, 2026 09:36
714bba6 to
424608a
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 28, 2026 16:09
424608a to
9d91674
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 28, 2026 19:56
9d91674 to
956ebe9
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 28, 2026 20:58
956ebe9 to
364154e
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 29, 2026 02:18
364154e to
58c96f9
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 29, 2026 04:41
58c96f9 to
4158370
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 29, 2026 09:04
4158370 to
5c7d7a2
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 29, 2026 17:28
5c7d7a2 to
469ce3a
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 30, 2026 00:39
469ce3a to
98a7fd3
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 30, 2026 06:07
98a7fd3 to
4f98e52
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 30, 2026 10:01
4f98e52 to
42e36fb
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 30, 2026 14:10
42e36fb to
777c8eb
Compare
renovate
Bot
force-pushed
the
renovate/npm-basic-ftp-5.2.0-vulnerability
branch
from
October 30, 2026 18:04
777c8eb to
24cd7b2
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.3.1→6.2.1basic-ftp: Quadratic-time CPU denial of service in Client.list() Unix directory-listing parser (RE_LINE backtracking)
CVE-2026-102990 / GHSA-c475-qrg2-pj4r
More information
Details
Summary
Client.list()parses the server's directory listing with the Unix-style parser inparseListUnix.js. ItsRE_LINEregex has two adjacent(\S+(?:\s\S+)*)groups (owner name, then group name) followed by a required numeric size group. When a line starts with a valid listing prefix but the tokens after it never satisfy the size and date fields, the engine backtracks over every way of splitting those tokens between the two groups before it can fail, so matching one line costs roughly O(n²) in the line's length.The server whose directory a client lists controls that listing, so it can return one line that pins the Node.js event loop for as long as it likes.
parseList()picks the parser from the last non-blank line only, then runs it on every line, so a normal line placed last selects the Unix parser and a crafted line earlier hits the quadratic match.Proof of concept
npm i basic-ftp && node repro.js:Prints
list() blocked 39.75s; heartbeats fired: 0, versus ~0.06s for a normal listing. The event loop is frozen the whole time. Cost is quadratic: 32 KB ≈ 2.4s, 64 KB ≈ 9.6s, 128 KB ≈ 39s.maxListingBytesdefaults to 40 MB, so a single line can be far larger, and ~1 MB already blocks for tens of minutes.Impact
One directory listing freezes the whole process, under default options, through the primary API. This is the same "malicious FTP server causes client-side denial of service" shape as GHSA-rp42-5vxx-qpwr, also in
Client.list()and rated high. The byte cap added there bounds memory, not the parser's CPU cost.Severity
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
patrickjuchli/basic-ftp (basic-ftp@<5.2.0)
v6.2.1Compare Source
v6.2.0Compare Source
v6.1.0Compare Source
v6.0.2Compare Source
v6.0.1Compare Source
v6.0.0Compare Source
allowSeparateTransferHost: truewhen instantiating aClient. (Thanks, @Jvr2022)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.