Skip to content

[MEDIUM] Patch glib for CVE-2024-34397 #14223

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

archana25-ms
Copy link
Contributor

@archana25-ms archana25-ms commented Jul 4, 2025

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?
Patch glib for CVE-2024-34397

Change Log
  • added: SPECS/glib/CVE-2024-34397.patch
  • modified: SPECS/glib/glib.spec
  • modified: toolkit/resources/manifests/package/pkggen_core_aarch64.txt
  • modified: toolkit/resources/manifests/package/pkggen_core_x86_64.txt
  • modified: toolkit/resources/manifests/package/toolchain_aarch64.txt
  • modified: toolkit/resources/manifests/package/toolchain_x86_64.txt
Does this affect the toolchain?

YES

Associated issues
  • #xxxx
Links to CVEs
Test Methodology
  • Pipeline build id: xxxx

  • Patch applies cleanly
    image

  • Builds successfully

@archana25-ms archana25-ms requested a review from a team as a code owner July 4, 2025 07:44
@archana25-ms archana25-ms marked this pull request as draft July 4, 2025 07:44
@archana25-ms archana25-ms marked this pull request as ready for review July 4, 2025 11:14
@Malateshk007 Malateshk007 requested a review from mfrw July 7, 2025 12:25
@Kanishk-Bansal Kanishk-Bansal requested a review from Copilot July 8, 2025 09:55
Copy link
Contributor

@Copilot 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 patches glib for CVE-2024-34397 by bumping the package release, adding the upstream fix, and updating relevant manifests.

  • Added CVE-2024-34397.patch and bumped glib release to 2.71.0-6
  • Updated toolchain and core manifests to reference glib-2.71.0-6
  • Integrated upstream signal‐subscription enhancements and new tests

Reviewed Changes

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

Show a summary per file
File Description
toolkit/resources/manifests/package/toolchain_x86_64.txt Updated glib package versions to 2.71.0-6
toolkit/resources/manifests/package/toolchain_aarch64.txt Updated glib package versions to 2.71.0-6
toolkit/resources/manifests/package/pkggen_core_x86_64.txt Updated glib core package to 2.71.0-6
toolkit/resources/manifests/package/pkggen_core_aarch64.txt Updated glib core package to 2.71.0-6
SPECS/glib/glib.spec Incremented release, added new CVE patch, updated changelog
SPECS/glib/CVE-2024-34397.patch New patch with upstream changes and test additions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
main PR Destined for main Packaging security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants