Описание
Security update for gleam
This update for gleam fixes the following issues:
Changes in gleam:
-
CVE-2026-115905, CVE-2026-115906, CVE-2026-115907, CVE-2026-115908, CVE-2026-115909: Update zip crate to fix several security vulnerabilities (bsc#1287931)
-
Update to 1.19.2:
- CVE-2026-103061: arbitrary directory deletion via path traversal in package metadata (bsc#1285067)
- Set minimum required Erlang version to 27
- All features and bug fixes are extensively highlighted with
examples in upstream's blog post at
https://gleam.run/news/gleam-doesnt-compile-to-erlang-source-anymore/
and changelogs at
https://github.com/gleam-lang/gleam/blob/v1.19.0/CHANGELOG.md &
https://github.com/gleam-lang/gleam/blob/v1.19.1/CHANGELOG.md &
https://github.com/gleam-lang/gleam/blob/v1.19.2/CHANGELOG.md .
Some of the highlights include:
- Gleam can now generate Erlang abstract forms, making the compilation much faster.
- JavaScript code generation optimization including pattern matching.
- The --src-only flag has been renamed to --no-dev.
- Improved error messages.
- Smaller binary build cache.
- Compiling for BEAM targets not creates .app files.
- It gained the ability to specify OTP application names.
Список пакетов
openSUSE Leap 16.1
Ссылки
- SUSE Security Ratings
- SUSE Bug 1285067
- SUSE Bug 1287931
- SUSE CVE CVE-2026-103061 page
- SUSE CVE CVE-2026-115905 page
- SUSE CVE CVE-2026-115906 page
- SUSE CVE CVE-2026-115907 page
- SUSE CVE CVE-2026-115908 page
- SUSE CVE CVE-2026-115909 page
Описание
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in gleam-lang gleam allows a malicious package publisher to delete a directory outside the project's build directory when a developer builds a project. A Hex package release's metadata carries an app field with the release's OTP application name. Gleam reads this field from the hex.pm release API when it downloads dependencies and uses it as the package's build directory name without validating it (hex_manifest_package in compiler-cli/src/dependencies.rs, ProjectPaths::build_directory_for_package). When a dependency fails to compile, Gleam deletes that directory with remove_dir_all. hex.pm didn't restrict the field to a directory name before 2026-10-12, so a publisher could set it to a value such as ../../../../target or an absolute path. When a project depends on such a release directly or transitively and the release fails to compile, gleam build, gleam check, gleam run, gleam test or gleam export deletes the directory the name resolves to. For a pure Gleam package no publisher code runs. This issue affects gleam: from 0.32.4 before 1.19.2.
Затронутые продукты
Ссылки
- CVE-2026-103061
- SUSE Bug 1285067
Описание
zip is a zip library for Rust that supports reading and writing simple ZIP files. Through 9.0.4, ZipArchive treats Central Directory File Header filenames as authoritative while ZipStreamReader extracts using Local File Header filenames without reconciling the duplicate metadata in src/read/stream.rs. A crafted archive can therefore appear benign to a component that inspects the central directory but cause a streaming extractor to write a different attacker-selected path and content, potentially overwriting files used by a downstream service. This issue is fixed in version 9.0.5.
Затронутые продукты
Ссылки
- CVE-2026-115905
- SUSE Bug 1287906
Описание
zip is a zip library for Rust that supports reading and writing simple ZIP files. From 0.6.0 until 9.0.0, the AES entry reader in src/aes.rs verifies its HMAC only when the attacker-controlled data counter reaches zero. If the underlying bounded reader reaches the real end of the archive while data_remaining is still positive, or if an encrypted entry has no payload, the reader can return a clean end of stream without reading and comparing the authentication tag. Applications using by_index_decrypt, by_name_decrypt, by_path_decrypt, or password-enabled by_index_with_options can therefore accept modified plaintext without an authentication error. This issue is fixed in version 9.0.0.
Затронутые продукты
Ссылки
- CVE-2026-115906
- SUSE Bug 1287906
Описание
zip is a zip library for Rust that supports reading and writing simple ZIP files. From 5.1.0 until 9.0.0, applications built with the legacy-zip feature can reserve output capacity from an attacker-controlled ZIP64 uncompressed size before validating the compressed stream. The ShrinkDecoder path in src/legacy/shrink.rs can panic with a capacity overflow during ZipArchive::extract, and the Reduce and Implode decoders contain the same unbounded preallocation pattern. An unhandled panic can terminate an archive-processing service. This issue is fixed in version 9.0.0.
Затронутые продукты
Ссылки
- CVE-2026-115907
- SUSE Bug 1287906
Описание
zip is a zip library for Rust that supports reading and writing simple ZIP files. From 7.2.0 until 9.0.0, ZipArchive::extract and ZipArchive::extract_unwrapped_root_dir use safe_prepare_path in src/read/zipfile.rs and simplified_components in src/path.rs to validate symbolic link targets with a lexical prefix comparison rather than resolving each intermediate link. An attacker who knows or can guess the absolute extraction destination can create a chain whose apparent target remains under the destination while an intermediate symlink resolves outside it, allowing attacker-controlled files to be created or overwritten with the extracting process's privileges. On Windows, discarded drive and UNC prefixes can permit a single-link escape when the process has SeCreateSymbolicLinkPrivilege, such as through administrator rights or Developer Mode. This regression is distinct from CVE-2025-29787. This issue is fixed in version 9.0.0.
Затронутые продукты
Ссылки
- CVE-2026-115908
- SUSE Bug 1287906
Описание
zip is a zip library for Rust that supports reading and writing simple ZIP files. From 1.3.0 until 9.0.0, ZipArchive::extract in src/read/mod.rs calls Vec::with_capacity for a symbolic link target using the attacker-controlled ZIP64 uncompressed_size before reading entry data. A small archive can request an impossible capacity, causing the infallible allocation path to abort the process before the entry is validated. The failure cannot be contained with catch_unwind or a worker thread, allowing repeated denial of service in archive-processing applications. This issue is fixed in version 9.0.0.
Затронутые продукты
Ссылки
- CVE-2026-115909
- SUSE Bug 1287906