Skip to content

[AutoPR- Security] Patch glibc for CVE-2025-15281 [MEDIUM]#15561

Merged
Kanishk-Bansal merged 2 commits intomicrosoft:3.0-devfrom
azurelinux-security:azure-autosec/glibc/3.0/1032826
Jan 27, 2026
Merged

[AutoPR- Security] Patch glibc for CVE-2025-15281 [MEDIUM]#15561
Kanishk-Bansal merged 2 commits intomicrosoft:3.0-devfrom
azurelinux-security:azure-autosec/glibc/3.0/1032826

Conversation

@azurelinux-security
Copy link
Contributor

@azurelinux-security azurelinux-security commented Jan 22, 2026

Auto Patch glibc for CVE-2025-15281.

Autosec pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1032826&view=results

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

What does the PR accomplish, why was it needed?

Change Log
Does this affect the toolchain?

YES/NO

Associated issues
  • N/A
Links to CVEs
Test Methodology

@microsoft-github-policy-service microsoft-github-policy-service bot added Packaging 3.0-dev PRs Destined for AzureLinux 3.0 labels Jan 22, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR applies a security patch to glibc for CVE-2025-15281 (MEDIUM severity), which addresses a use-after-free vulnerability in the wordexp implementation when using the WRDE_REUSE flag. The glibc package version is bumped from 2.38-17 to 2.38-18, and all dependent packages that rely on glibc-static are rebuilt with the updated version.

Changes:

  • Patches glibc to fix CVE-2025-15281 by properly resetting wordexp_t fields when WRDE_REUSE is used
  • Updates toolchain and pkggen_core manifests for both x86_64 and aarch64 architectures
  • Rebuilds 13 dependent packages (tini, supermin, rust, qemu, libguestfs, libcap, kubevirt, kubernetes, flannel, busybox, podman, dyninst, crun, catatonit, buildah) with the updated glibc-static

Reviewed changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated no comments.

Show a summary per file
File Description
SPECS/glibc/glibc.spec Bumps release from 17 to 18, adds CVE-2025-15281.patch, updates changelog
SPECS/glibc/CVE-2025-15281.patch New patch file that fixes wordexp WRDE_REUSE vulnerability by resetting we_wordc fields
toolkit/resources/manifests/package/toolchain_x86_64.txt Updates glibc and libcap package versions for x86_64 toolchain
toolkit/resources/manifests/package/toolchain_aarch64.txt Updates glibc and libcap package versions for aarch64 toolchain
toolkit/resources/manifests/package/pkggen_core_x86_64.txt Updates glibc and libcap package versions for x86_64 core
toolkit/resources/manifests/package/pkggen_core_aarch64.txt Updates glibc and libcap package versions for aarch64 core
SPECS/tini/tini.spec Bumps release to 28, updates glibc-static BuildRequires to 2.38-18
SPECS/supermin/supermin.spec Bumps release to 13, updates glibc-static BuildRequires to 2.38-18
SPECS/rust/rust.spec Bumps release to 3, updates glibc-static BuildRequires to 2.38-18
SPECS/rust/rust-1.75.spec Bumps release to 24, updates glibc-static BuildRequires to 2.38-18
SPECS/qemu/qemu.spec Bumps release to 27, updates glibc-static BuildRequires to 2.38-18
SPECS/libguestfs/libguestfs.spec Bumps release to 20, updates glibc-static BuildRequires to 2.38-18
SPECS/libcap/libcap.spec Bumps release from 11 to 12, updates glibc-static BuildRequires to 2.38-18
SPECS/kubevirt/kubevirt.spec Bumps release to 3, updates glibc-static BuildRequires to 2.38-18
SPECS/kubernetes/kubernetes.spec Bumps release to 20, updates glibc-static BuildRequires to 2.38-18
SPECS/flannel/flannel.spec Bumps release to 24, updates glibc-static BuildRequires to 2.38-18
SPECS/busybox/busybox.spec Bumps release to 21, updates glibc-static BuildRequires to 2.38-18
SPECS-EXTENDED/podman/podman.spec Bumps release to 7, updates glibc-static BuildRequires to 2.38-18
SPECS-EXTENDED/dyninst/dyninst.spec Bumps release to 28, updates glibc-static BuildRequires to 2.38-18
SPECS-EXTENDED/crun/crun.spec Bumps release to 3, updates glibc-static BuildRequires to 2.38-18
SPECS-EXTENDED/catatonit/catatonit.spec Bumps release to 26, updates glibc-static BuildRequires to 2.38-18
SPECS-EXTENDED/buildah/buildah.spec Bumps release to 6, updates glibc-static BuildRequires to 2.38-18

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@christopherco christopherco left a comment

Choose a reason for hiding this comment

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

:shipit:

@Kanishk-Bansal
Copy link
Contributor

/azurepipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Kanishk-Bansal
Copy link
Contributor

Full Build

@Kanishk-Bansal
Copy link
Contributor

Full Build passed

@Kanishk-Bansal Kanishk-Bansal merged commit c326e08 into microsoft:3.0-dev Jan 27, 2026
35 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0-dev PRs Destined for AzureLinux 3.0 AutoPR-Security Packaging security specs-extended PR to fix SPECS-EXTENDED

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants