Skip to content

fix(plexus-utils4): upgrade to 4.0.3 to address CVEs - #20341

Merged
reuben olinsky (reubeno) merged 1 commit into
4.0from
plexus-utils4-4.0.3-cves
Nov 18, 2026
Merged

reuben olinsky (reubeno) merged 1 commit into
4.0from
plexus-utils4-4.0.3-cves

Conversation

@Kanishk-Bansal

@Kanishk-Bansal Kanishk Bansal (Kanishk-Bansal) commented Nov 16, 2026 •

Copy link
Copy Markdown

Summary

Upgrade plexus-utils4 from 4.0.2 to 4.0.3 with a version overlay on the current Fedora f43 spec. Fedora f43, f44 and rawhide all ship 4.0.2, so this takes the upstream patch release in-line and pins the upstream source in the comp file. Upstream diff: plexus-utils-4.0.2...plexus-utils-4.0.3.

CVEs addressed (1)

CVE Severity How the fix was verified
CVE-2025-67030 High Zip Slip in Expand.extractFile(); fix 6d780b3 (PR 296) is in plexus-utils-4.0.3 and not in plexus-utils-4.0.2; GHSA-6fmv-xxpf-w3cw: patched in 4.0.3

Notes

  • 4.0.3 is the only release after 4.0.2 on the 4.0.x line (release notes). Besides the Zip Slip fix it adds a few public helpers in MatchPattern, MatchPatterns and SelectorUtils (PR 278), marks Base64 deprecated and adds an Automatic-Module-Name manifest entry. These are backward compatible; nothing is removed or changed in signature.
  • Dependencies are unchanged (plexus-xml 3.0.1). The parent POM moves from plexus 18 to 25, which does not change the build: xmvn resolves the system org.codehaus.plexus:plexus POM, so BuildRequires stay the same.
  • %mvn_compat_version : 4.0.2 4.0.1 is kept as is, so the package still provides mvn(org.codehaus.plexus:plexus-utils:4.0.2) and :4.0.1, which is what the 4.0 consumers require.
  • Source0 is a GitHub tag archive. Fedora has no 4.0.3 lookaside copy, so the archive was downloaded twice (same SHA512 both times, and the same via archive/refs/tags/). The 4.0.2 archive from the same URL pattern still matches Fedora's sources hash. The old 4.0.2 checksum is removed from sources by the overlay.
  • No regressions reported after 4.0.3; the only later change to Expand.java is a static analysis cleanup on master.

Changes

  • base/comps/components.toml: drop the inline plexus-utils4 entry.
  • base/comps/plexus-utils4/plexus-utils4.comp.toml: pin the 4.0.3 tarball.
  • base/comps/plexus-utils4/overlays/0001-update-to-4.0.3.overlay.toml: Version 4.0.3, drop the 4.0.2 checksum.
  • locks/plexus-utils4.lock, specs/p/plexus-utils4/: regenerated by azldev.

Testing

  • PR check scratch package build passed: build 1258398. Control Tower built plexus-utils4 for the 4.0 environment at the PR head 727c887bcd in about 5 min.
  • Lock and render drift checks passed; azldev comp update --check-only is clean.
  • The new NVR is higher than what is published for 4.0 today.
  • Not built locally.

Fedora f43, f44 and rawhide all package plexus-utils4 4.0.2, so update
to the upstream 4.0.3 patch release with a version overlay on the
current f43 spec. 4.0.3 carries the Zip Slip fix for Expand plus small
backward compatible additions (a few public helpers in MatchPattern,
MatchPatterns and SelectorUtils, an Automatic-Module-Name manifest
entry). Runtime dependencies are unchanged (plexus-xml 3.0.1). The
parent POM bump (plexus 18 to 25) does not matter for the xmvn build,
which resolves the system org.codehaus.plexus:plexus POM.

The %mvn_compat_version line is left as is, so the package keeps
providing the 4.0.2 and 4.0.1 compat artifacts that consumers require.
The old 4.0.2 checksum is removed from sources.

Addresses CVE(s):
CVE-2025-67030
@Kanishk-Bansal Kanishk Bansal (Kanishk-Bansal) added security CVE-fixed-by-upgrade CVE fixed by package upgrade 4.0 Issues and PRs for Azure Linux 4.0 targets-4.0 labels Nov 16, 2026
Copilot AI balanced review requested due to automatic review settings November 16, 2026 18:50
@Kanishk-Bansal

Copy link
Copy Markdown
Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The security-sensitive RPM upgrade lacks build, RPM inspection, and mock-chroot smoke-test evidence, requiring maintainer validation because these checks cannot run in this review environment.

No open issues 🎉

What changed in this PR

Upgrades Azure Linux’s plexus-utils4 package from 4.0.2 to 4.0.3 to address CVE-2025-67030, retaining the Fedora spec and applying the version change through an azldev overlay.

Changes:

  • Moves the component into a dedicated definition with a SHA512-pinned upstream archive.
  • Adds an overlay to update the version and remove the obsolete source checksum.
  • Refreshes the component lock and rendered packaging files.
File Description
specs/​p/​plexus-utils4/​sources Replaces the source checksum with the 4.0.3 archive hash.
specs/​p/​plexus-utils4/​plexus-utils4.spec Updates the version, generated release number, and changelog.
locks/​plexus-utils4.lock Refreshes the component input fingerprint.
base/​comps/​plexus-utils4/​plexus-utils4.comp.toml Defines the component and pins the 4.0.3 source archive.
base/​comps/​plexus-utils4/​overlays/​0001-update-to-4.0.3.overlay.toml Applies the version bump and removes the old checksum.
base/​comps/​components.toml Removes the inline entry in favor of the dedicated definition.

Review effort: Balanced

@Kanishk-Bansal
Kanishk Bansal (Kanishk-Bansal) marked this pull request as ready for review November 16, 2026 19:32
@reubeno
reuben olinsky (reubeno) merged commit cb23334 into 4.0 Nov 18, 2026
19 checks passed
@reubeno
reuben olinsky (reubeno) deleted the plexus-utils4-4.0.3-cves branch November 18, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0 Issues and PRs for Azure Linux 4.0 CVE-fixed-by-upgrade CVE fixed by package upgrade security targets-4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants