Skip to content

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

Open
sestinj wants to merge 1 commit into
mainfrom
snyk-fix-979c6c8bf829ccafc6baaa7abf363b0a
Open

sestinj wants to merge 1 commit into
mainfrom
snyk-fix-979c6c8bf829ccafc6baaa7abf363b0a

Conversation

@sestinj

@sestinj sestinj commented Sep 15, 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 Symlink Attack
SNYK-JS-ADMZIP-19276676
  696  

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

sestinj commented Sep 15, 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.

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