Skip to content

fix(deps): upgrade adm-zip 0.4.7 → 0.5.18 — Zip Slip arbitrary file write CVE-2018-1002204 - #272

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1789049229-cve-2018-1002204-adm-zip
Open

devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1789049229-cve-2018-1002204-adm-zip

Conversation

@devin-ai-integration

Copy link
Copy Markdown

Summary

Remediates Arbitrary File Write via Archive Extraction (Zip Slip) in the direct dependency adm-zip@0.4.7 (npm:adm-zip:20180415 / CVE-2018-1002204, severity Critical, CVSS 9.4). adm-zip is used by routes/index.js exports.importzip.extractAllTo("/tmp/extracted_files", true) on user-uploaded archives, so a crafted ../ entry could write outside the extraction directory.

- "adm-zip": "0.4.7",
+ "adm-zip": "0.5.18",

Files changed: package.json, package-lock.json (adm-zip only; no other resolution changes).

Verification: npm ci clean; 30/30 end-to-end regression checks pass, including POST /import with a real .zip (extraction to /tmp/extracted_files/backup.txt confirmed) and the CSV import path.

Scan reference: Snyk MCP snyk_sca_scan (org 9e26acce-22c7-4efc-b470-21d9587f49fe) on main@d240896, 2026-09-10.

Devin-Org: engineering

Link to Devin session: https://app.devin.ai/sessions/0b602fbece0246d2a263a9d20b275733
Open in Devin Desktop: https://app.devin.ai/desktop/session/0b602fbece0246d2a263a9d20b275733?variant=devin
Requested by: @sumitshatwara

Also closes SNYK-JS-ADMZIP-1065796 (fixed 0.5.2) and CVE-2026-39244 (fixed 0.5.18).

Co-Authored-By: sumit.shatwara <sumitshatwara@gmail.com>
@devin-ai-integration

Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

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