From 39a0b2e4a750542728e1d477b95ade26da60c2ff Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Tue, 1 Dec 2026 19:57:00 +0000 Subject: [PATCH] fix(deps): override basic-ftp to 6.2.4 or later basic-ftp 5.3.1 has GHSA-c475-qrg2-pj4r (CVE-2026-102990, high: quadratic-time CPU denial of service in the Unix directory-listing parser), fixed in 6.2.1. It comes in through lighthouse, puppeteer-core, @puppeteer/browsers, proxy-agent, pac-proxy-agent and get-uri 6, which still asks for basic-ftp ^5. get-uri 8 already uses basic-ftp ^6.2.4. The only breaking change in basic-ftp 6 is that separate transfer hosts (FTP bounce) are refused by default. Co-Authored-By: Claude Opus 5.5 --- bun.lock | 5 ++++- package.json | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bun.lock b/bun.lock index 13bf09c..5490e79 100644 --- a/bun.lock +++ b/bun.lock @@ -21,6 +21,9 @@ }, }, }, + "overrides": { + "basic-ftp": "^6.2.4", + }, "packages": { "@biomejs/biome": ["@biomejs/biome@1.9.4", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "1.9.4", "@biomejs/cli-darwin-x64": "1.9.4", "@biomejs/cli-linux-arm64": "1.9.4", "@biomejs/cli-linux-arm64-musl": "1.9.4", "@biomejs/cli-linux-x64": "1.9.4", "@biomejs/cli-linux-x64-musl": "1.9.4", "@biomejs/cli-win32-arm64": "1.9.4", "@biomejs/cli-win32-x64": "1.9.4" }, "bin": { "biome": "bin/biome" } }, "sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog=="], @@ -246,7 +249,7 @@ "bare-url": ["bare-url@2.3.2", "", { "dependencies": { "bare-path": "^3.0.0" } }, "sha512-ZMq4gd9ngV5aTMa5p9+UfY0b3skwhHELaDkhEHetMdX0LRkW9kzaym4oo/Eh+Ghm0CCDuMTsRIGM/ytUc1ZYmw=="], - "basic-ftp": ["basic-ftp@5.3.1", "", {}, "sha512-bopVNp6ugyA150DDuZfPFdt1KZ5a94ZDiwX4hMgZDzF+GttD80lEy8kj98kbyhLXnPvhtIo93mdnLIjpCAeeOw=="], + "basic-ftp": ["basic-ftp@6.2.6", "", {}, "sha512-0EjZCaodOz6yiokv2JA1VyKGNdGxULZ+GGlPgG9tm4d+T/bHtX1hUch8CumDneBfpIbiSdn7TaCGwpM+gwsOlw=="], "brace-expansion": ["brace-expansion@1.1.12", "", { "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg=="], diff --git a/package.json b/package.json index 196c22c..0c3345c 100644 --- a/package.json +++ b/package.json @@ -36,5 +36,8 @@ "globals": "^15.15.0", "typescript": "^5.9.3", "typescript-eslint": "^8.46.3" + }, + "overrides": { + "basic-ftp": "^6.2.4" } }