Skip to content

[Snyk] Security upgrade adm-zip from 0.5.17 to 0.6.1 - #13285

Open
sestinj wants to merge 1 commit into
mainfrom
snyk-fix-16461e5bb103f24c24ddc61b59f3c2e2
Open

sestinj wants to merge 1 commit into
mainfrom
snyk-fix-16461e5bb103f24c24ddc61b59f3c2e2

Conversation

@sestinj

@sestinj sestinj commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • binary/package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Improper Handling of Highly Compressed Data (Data Amplification)
SNYK-JS-ADMZIP-19846655
  828  

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@sestinj

sestinj commented Sep 16, 2026

Copy link
Copy Markdown
Contributor Author

Merge Risk: Medium

The upgrade of adm-zip from 0.5.17 to 0.6.1 introduces behavioral changes and a new minimum Node.js requirement.

Key Changes:

  • Node.js Requirement: The minimum required Node.js version has been raised to 14. The previous requirement was incorrectly listed as 12, though the code may have already implicitly required a newer version.
  • Behavior Change in extractEntryTo: The function extractEntryTo() now preserves the subdirectory structure of extracted files by default. Previously, it would flatten the directory structure, placing all files directly into the target folder. This could cause unexpected behavior or break scripts that relied on the old flattening behavior.
  • Security Fixes: This upgrade addresses security vulnerability CVE-2026-39244, which could lead to a denial-of-service via memory exhaustion from a crafted archive. It also includes further security hardening in v0.6.1, such as blocking extraction through symlinks.
  • TypeScript Types: The package now includes built-in TypeScript definitions, so the @types/adm-zip package is no longer necessary.

Recommendation:
Verify that your environment meets the new Node.js v14 requirement. Review any usage of extractEntryTo() to ensure your code is compatible with the new directory-preserving extraction behavior.

Source: GitHub Releases

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@sestinj
sestinj requested a review from a team as a code owner September 16, 2026 10:20
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.

2 participants