Skip to content

[Snyk] Security upgrade adm-zip from 0.4.7 to 0.6.1 - #135

Open
aluca3 wants to merge 1 commit into
mainfrom
snyk-fix-73823e59e5a59fb96e0f9f92b4913a99
Open

aluca3 wants to merge 1 commit into
mainfrom
snyk-fix-73823e59e5a59fb96e0f9f92b4913a99

Conversation

@aluca3

@aluca3 aluca3 commented Sep 16, 2026

Copy link
Copy Markdown
Owner

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):

  • package.json
  • package-lock.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.

@aluca3

aluca3 commented Sep 16, 2026

Copy link
Copy Markdown
Owner Author

Merge Risk: Medium

This major version upgrade for adm-zip introduces a higher Node.js requirement and a significant behavioral change that requires verification.

Breaking Changes:

  • Minimum Node.js Version: Support for Node.js versions below 14 has been dropped. The previous requirement in v0.5.0 was Node v6+. [3, 2]
  • extractEntryTo Behavior: The behavior of extractEntryTo has changed. When the maintainEntryPath parameter is set to false, the function now preserves the subdirectory structure within the extracted entry. Previously, it would flatten the path, which could cause files with the same name from different directories to overwrite each other. [3]

Other Notable Changes:

  • Security Fixes: This upgrade includes fixes for multiple vulnerabilities, including a Denial of Service (DoS) issue (CVE-2026-39244) and path traversal flaws present in the older 0.4.x versions. [3, 10]
  • TypeScript Types: The package now bundles its own TypeScript type definitions, making the @types/adm-zip package unnecessary. [3]

Recommendation:

  • Verify that your runtime environment uses Node.js v14 or newer.
  • If you use the extractEntryTo function with maintainEntryPath: false, review your code to ensure it is compatible with the new behavior that preserves directory structures.

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