Skip to content

chore(deps): bump the adm-zip override to ^0.6.1 - #13737

Merged
diegosouzapw merged 1 commit into
release/v3.8.51from
chore/deps-adm-zip-0.6.1
Sep 15, 2026
Merged

diegosouzapw merged 1 commit into
release/v3.8.51from
chore/deps-adm-zip-0.6.1

Conversation

@diegosouzapw

Copy link
Copy Markdown
Collaborator

Clears Dependabot #214 (GHSA-vwc7-r8mq-g2x9 / CVE-2026-76845, moderate): adm-zip
0.5.9–0.6.0 follows a symlink already present inside the extraction root and writes
through it, outside the root.

The advisory still says first_patched_version: null, but 0.6.1 is the fix. Diffing
the two tarballs: util/utils.js gains assertPathSafe, which walks every path component
below the root with lstat and throws FILE_IN_THE_WAY on a symlink; the extraction path
calls it before every write. The GHSA entry just has not been updated yet.

Reach: adm-zip is pulled only by onnxruntime-node (an optionalDependency, itself
pinned by override) and used only in its install script to unpack the vendor's own runtime
binary. No request path touches it.

The override already existed at ^0.6.0 (PR #7732, the previous adm-zip CVE); this raises
the floor. Lockfile moves 0.6.0 → 0.6.1 and nothing else (3 lines).

Validation

  • npm install --package-lock-only → resolves 0.6.1, 0 vulnerabilities reported
  • prettier clean; husky pre-commit gates ran (any-budget, tracked-artifacts)

⚠️ base-red inherited: #12732 — release/v3.8.51 is not green; failures outside this
lockfile change come from the tip.

Dependabot #214 (GHSA-vwc7-r8mq-g2x9 / CVE-2026-76845, moderate): adm-zip
0.5.9–0.6.0 follows a symlink that already exists inside the extraction root
and writes through it, outside the root. The advisory still reports
`first_patched_version: null`, but 0.6.1 (published after the advisory) is the
fix — `util/utils.js` gains `assertPathSafe`, which walks every path component
below the root with `lstat` and throws on a symlink; `extractAllTo` calls it
before every write. Verified by diffing the two tarballs.

Reach in this repo: adm-zip is pulled only by `onnxruntime-node` (an
optionalDependency, itself pinned by override) and used only in its install
script to unpack the vendor's own runtime binary. No request path touches it.

The override already existed at ^0.6.0 (PR #7732, the previous adm-zip CVE);
this just raises the floor. Lockfile moves 0.6.0 → 0.6.1, nothing else.
@diegosouzapw
diegosouzapw merged commit 104a34c into release/v3.8.51 Sep 15, 2026
16 of 21 checks passed
muhamadgalihsaputra pushed a commit to niyatna/NiyatnaRoute that referenced this pull request Sep 27, 2026
…3737)

Dependabot cheaper-inference#214 (GHSA-vwc7-r8mq-g2x9 / CVE-2026-76845, moderate): adm-zip
0.5.9–0.6.0 follows a symlink that already exists inside the extraction root
and writes through it, outside the root. The advisory still reports
`first_patched_version: null`, but 0.6.1 (published after the advisory) is the
fix — `util/utils.js` gains `assertPathSafe`, which walks every path component
below the root with `lstat` and throws on a symlink; `extractAllTo` calls it
before every write. Verified by diffing the two tarballs.

Reach in this repo: adm-zip is pulled only by `onnxruntime-node` (an
optionalDependency, itself pinned by override) and used only in its install
script to unpack the vendor's own runtime binary. No request path touches it.

The override already existed at ^0.6.0 (PR cheaper-inference#7732, the previous adm-zip CVE);
this just raises the floor. Lockfile moves 0.6.0 → 0.6.1, nothing else.
@diegosouzapw
diegosouzapw deleted the chore/deps-adm-zip-0.6.1 branch October 18, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant