fix: upgrade adm-zip to 0.6.0 (CVE-2026-39244)

Merged
AN
2mo ago
+35-11

Summary

Upgrade adm-zip from 0.5.17 to 0.6.0 to fix CVE-2026-39244.

Vulnerability

FieldValue
IDCVE-2026-39244
SeverityHIGH
Scannertrivy
RuleCVE-2026-39244
Filebun.lock (dependency: adm-zip)
AssessmentPresent in dependency tree, not confirmed reachable

Description: adm-zip: adm-zip: Denial of Service via crafted ZIP file leading to excessive memory allocation

Evidence

Scanner confirmation: trivy rule CVE-2026-39244 flagged this pattern.

Threat Model Context

This is a private Node.js application (not published to npm). Vulnerabilities affect this application's own runtime only.

Changes

  • bun.lock
  • package.json

Behavior Preservation

The change is scoped to 2 files on the vulnerable path; it only tightens handling of untrusted input and leaves valid inputs unaffected.


This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.


Automated security fix by OrbisAI Security


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Summary by cubic

Pins adm-zip to 0.6.0 via overrides to remediate CVE-2026-39244 (crafted ZIP DoS). Previously onnxruntime-node resolved adm-zip@0.5.17; now all paths resolve to 0.6.0, leaving valid archives unaffected.

  • Changes are limited to package.json (adds overrides.adm-zip: 0.6.0) and bun.lock (regenerated; all adm-zip entries are 0.6.0).
  • After merge, run bun install and re-run the security scan.

Greptile Summary

The PR globally overrides adm-zip to 0.6.0 and updates the lockfile resolution to remediate CVE-2026-39244.

  • Adds a matching adm-zip override to package.json and bun.lock.
  • Replaces the resolved adm-zip@0.5.17 package with adm-zip@0.6.0.
  • Regenerates related workspace lockfile metadata.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

FilenameOverview
package.jsonAdds a global adm-zip@0.6.0 override consistent with the generated lockfile.
bun.lockResolves the previous nested-vulnerability concern by retaining only adm-zip@0.6.0; no vulnerable 0.5.17 resolution remains.

Reviews (2): Last reviewed commit: "fix: use overrides instead of a root dep..." | Re-trigger Greptile