Repository navigation
fix(gzip): upgrade to 1.15 to address CVEs - #20300
Open
Kanishk Bansal (Kanishk-Bansal) wants to merge 1 commit into
Open
Kanishk Bansal (Kanishk-Bansal) wants to merge 1 commit into
Kanishk Bansal (Kanishk-Bansal) wants to merge 1 commit into
Conversation
Fedora f43 ships gzip 1.13 and f44 ships 1.14. Update to upstream 1.15 with a version overlay on the current f43 spec. 1.15 has the fixes for the .lzh after .Z buffer overflow (63dbf6b3b9, e7378c2d42) and the gzexe temporary file race (4e6f8b24ab). Also backport upstream b4ed8e7340 (include gzip.h after all system headers) so 1.15 builds against newer AArch64 linux headers. Addresses CVE(s): CVE-2026-41991, CVE-2026-41992
Author
|
/azp run |
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. |
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The security-sensitive RPM upgrade and AArch64 backport require maintainer validation because current build, RPM-inspection, and mock smoke-test results are absent, and predecessor testing does not cover the f43-based implementation.
No open issues 🎉
What changed in this PR
Upgrades Azure Linux’s gzip package from 1.13 to 1.15 to address CVE-2026-41991 and CVE-2026-41992, retaining the Fedora f43 spec rather than adopting rawhide changes.
Changes:
- Moves
gzipinto a dedicated component definition with the 1.15 tarball and SHA512 checksum. - Adds version-update overlays and an upstream include-order fix for AArch64 builds.
- Refreshes the lock fingerprint and rendered packaging files.
| File | Description |
|---|---|
specs/g/gzip/sources |
Replaces the 1.13 checksum with 1.15. |
specs/g/gzip/gzip.spec |
Updates version and release; applies the build fix. |
specs/g/gzip/gzip-1.15-build-aarch64-include-order.patch |
Includes the rendered AArch64 patch. |
locks/gzip.lock |
Refreshes the component input fingerprint. |
base/comps/gzip/overlays/0002-backport-aarch64-build-fix.overlay.toml |
Registers and applies the upstream build fix. |
base/comps/gzip/overlays/0001-update-to-1.15.overlay.toml |
Sets version 1.15 and removes the obsolete checksum. |
base/comps/gzip/gzip.comp.toml |
Defines the 1.15 source download and checksum. |
base/comps/gzip/gzip-1.15-build-aarch64-include-order.patch |
Moves gzip.h after system headers. |
base/comps/components.toml |
Removes the inline entry replaced by dedicated configuration. |
Review effort: Balanced
Kanishk Bansal (Kanishk-Bansal)
marked this pull request as ready for review
November 15, 2026 10:49
Kanishk Bansal (Kanishk-Bansal)
requested a review
from a team
as a code owner
November 15, 2026 10:49
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrade
gzipfrom 1.13 to upstream 1.15 with a version overlay on the current Fedora f43 spec (f43 ships 1.13, f44 ships 1.14). This replaces #20024, which pinned rawhide; none of rawhide's spec changes are taken. It also backports one upstream build fix that 1.15 needs on AArch64.CVEs addressed (2)
.lzhfile after a.Zfile. Fixes 63dbf6b3b9 and its follow-up e7378c2d42 are in v1.15 and not in v1.13; listed in the 1.15 NEWSgzexewhenmktempis missing. Fix 4e6f8b24ab is in v1.15 and not in v1.13; listed in the 1.15 NEWSNotes
-l/-voutput),gzip -lreports-Inf%for empty files,znew -Pis ignored with a warning, andgzip -daccepts PKZIP signatures in streamed zip files. The rest are bug fixes.gzip.cincludesgzip.hafter the system headers; without it 1.15 fails to build against newer AArch64 linux headers (bug#81904). It only reorders an include.sourcesby the overlay.Changes
base/comps/components.toml: drop the inlinegzipentry.base/comps/gzip/gzip.comp.toml: pin the 1.15 tarball.base/comps/gzip/overlays/0001-update-to-1.15.overlay.toml:Version1.15, drop the 1.13 checksum.base/comps/gzip/overlays/0002-backport-aarch64-build-fix.overlay.tomlandgzip-1.15-build-aarch64-include-order.patch: the include-order backport.locks/gzip.lock,specs/g/gzip/: regenerated by azldev.Testing
gzipfor the 4.0 environment at the PR head0de4491c3cin about 6 min.azldev comp update --check-onlyis clean.