Stream: git-wasmtime

Topic: wasmtime / issue #14791 RUSTSEC-2026-0367: Insecure Pres...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 17 2026 at 00:13):

github-actions[bot] opened issue #14791:

Insecure Preservation of SUID/SGID Bits during ZIP Extraction Leading to Potential Privilege Escalation

Details
Package zip
Version 0.6.6
Date 2026-10-09
Patched versions >=9.0.0

The zip crate preserves privileged Unix permission bits (SUID, SGID, and sticky bits) from ZIP external_attributes during extraction, instead of masking them to safe permission bits. If a privileged process (for example, root in an installer, CI/CD pipeline, or container build) extracts an attacker-controlled ZIP archive using ZipArchive::extract() or the stream extraction API, files can be created as setuid-root or setgid. This behavior allows the creation of SUID/SGID files during extraction, which can lead to local privilege escalation depending on the execution environment.

For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-vv5m-jxxh-4627

See advisory page for additional details.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 17 2026 at 02:22):

alexcrichton closed issue #14791:

Insecure Preservation of SUID/SGID Bits during ZIP Extraction Leading to Potential Privilege Escalation

Details
Package zip
Version 0.6.6
Date 2026-10-09
Patched versions >=9.0.0

The zip crate preserves privileged Unix permission bits (SUID, SGID, and sticky bits) from ZIP external_attributes during extraction, instead of masking them to safe permission bits. If a privileged process (for example, root in an installer, CI/CD pipeline, or container build) extracts an attacker-controlled ZIP archive using ZipArchive::extract() or the stream extraction API, files can be created as setuid-root or setgid. This behavior allows the creation of SUID/SGID files during extraction, which can lead to local privilege escalation depending on the execution environment.

For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-vv5m-jxxh-4627

See advisory page for additional details.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 17 2026 at 02:22):

alexcrichton commented on issue #14791:

Closing in favor of https://github.com/bytecodealliance/wasmtime/issues/14790, also about this dep


Last updated: Oct 31 2026 at 23:03 UTC