Skip to content

Commit 1bf3c5c

Browse files
authored
ci(dependency-review): allow the tar 7.x advisories in npm's nested copies (#6246)
pacote 22 and node-gyp still depend on tar 7, so their nested copies carry 18 advisories that only tar 8 fixes. The CLI extracts with its own tar 8 (#6243); pacote extracts with tar 7 only to read the manifest of a tarball the user named, which tar 8 then unpacks anyway. The matching Dependabot alerts are dismissed as tolerable risk.
1 parent 2fab42c commit 1bf3c5c

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

‎.github/workflows/dependency-review.yml‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,14 @@ jobs:
2222
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
2323
with:
2424
# Assessed as tolerable for the CLI (Dependabot alerts dismissed with tolerable_risk):
25-
# glob ignore-pattern brace DoS in npm's nested copies; tar UnpackSync, which the CLI never uses.
26-
allow-ghsas: GHSA-qxr8-q827-836c, GHSA-25mm-r35j-6hgm
25+
# - glob ignore-pattern brace DoS in npm's nested copies; tar UnpackSync, which the CLI never uses.
26+
# - tar 7.x advisories in the copies nested under pacote and node-gyp. The CLI extracts with
27+
# its own tar 8; pacote extracts only a tarball the user named, to read its manifest.
28+
allow-ghsas: >-
29+
GHSA-qxr8-q827-836c, GHSA-25mm-r35j-6hgm,
30+
GHSA-3wwj-8j6r-q339, GHSA-4pf9-5fpx-xmr6, GHSA-6wwr-g865-f46r,
31+
GHSA-72fp-85cc-g945, GHSA-7c32-79xj-j3jp, GHSA-98v3-7xjr-fg83,
32+
GHSA-9hmx-4f52-v64x, GHSA-ffhw-4r4q-5cwv, GHSA-gvrf-jx37-rjv5,
33+
GHSA-hqgx-p3r3-2cfg, GHSA-jmj2-9c5q-vw73, GHSA-mhqm-9wj8-w7r4,
34+
GHSA-mpg7-vg3p-wc3m, GHSA-p96f-8xj2-g85p, GHSA-qv2w-fc3h-pm27,
35+
GHSA-rgjp-p5j7-w36x, GHSA-wpwg-r92p-fjjh, GHSA-xm6h-2993-3ch9

0 commit comments

Comments
 (0)