Skip to content

Commit e2cbbab

Browse files
authored
Merge pull request #22 from browserstack/LTS-4750-extract-zip-path-traversal
LTS-4750: drop extract-zip via @puppeteer/browsers 3.x override (GHSA-jmr9-qjv8-65gv)
2 parents 1e0a8c8 + f731f0a commit e2cbbab

3 files changed

Lines changed: 407 additions & 171 deletions

File tree

.npmrc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@
99
# postinstalls (edgedriver/geckodriver) are not needed. browserstack-node-sdk is
1010
# pinned to the latest release (1.61.0) so no update-postinstall is needed either.
1111
#
12-
# engine-strict=true enforces the package.json `engines.node` floor (>=18), which
13-
# matches our runner pod and what @wdio/cli 9 already requires. Customers on EOL
14-
# Node (<18) get a clear upgrade message instead of obscure failures.
12+
# engine-strict=true enforces the package.json `engines.node` floor (>=22.12.0).
13+
# The floor was raised from >=18 for LTS-4750: the only fix for the unpatched
14+
# extract-zip path traversal (GHSA-jmr9-qjv8-65gv) is @puppeteer/browsers 3.x,
15+
# which is ESM-only and requires Node >=22.12.0. Node 18 (EOL 2025-04-30) and
16+
# Node 20 (EOL 2026-04-30) are both out of support anyway, so customers on EOL
17+
# Node get a clear upgrade message instead of obscure failures.
1518

1619
strict-ssl=true
1720
save-exact=true

0 commit comments

Comments
 (0)