Skip to content

fix(GitPython): upgrade to 3.2.1 to address CVEs - #19970

Merged
Dan Streetman (ddstreetmicrosoft) merged 1 commit into
4.0from
GitPython-3.2.1-cves
Nov 6, 2026
Merged

Dan Streetman (ddstreetmicrosoft) merged 1 commit into
4.0from
GitPython-3.2.1-cves

Conversation

@Kanishk-Bansal

Copy link
Copy Markdown

Summary

Upgrade GitPython from 3.2.0 → 3.2.1 by bumping the Fedora f43 dist-git pin to 0a071a42290d.

CVEs addressed (1)

CVE Severity Fixed in Reference
CVE-2026-114145 High 3.2.1 link

CVEs not addressed by this upgrade (0)

None — all open Astrolabe CVEs for this package are addressed.

Changes

  • base/comps/GitPython/GitPython.comp.toml: pin upstream-commit = 0a071a42290d… (Fedora f43)
  • locks/GitPython.lock: refreshed via azldev comp update -p GitPython
  • specs/g/GitPython/: re-rendered (Version 3.2.0 → 3.2.1, Release 5%{?dist} → 6%{?dist})

Testing

  • azldev comp build -p GitPython (x86_64): success (1 RPMs)
  • Smoke test in AZL4 mock chroot with the built RPMs installed:
GitPython 3.2.1
  • All ELF binaries/libraries in the built RPMs resolve their shared libraries (ldd: no not found)
  • SONAMEs vs. currently published 4.0 package: unchanged
  • azldev comp render / comp update idempotent on the committed state; commit message passes commitizen

Copilot AI balanced review requested due to automatic review settings November 5, 2026 08:57

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.

🟢 Approval recommended

No active review issues block the GitPython security update.

No open issues 🎉

What changed in this PR

Updates Azure Linux’s GitPython package from 3.2.0 to 3.2.1 to address the reported CVE-2026-114145.

Changes:

  • Moves GitPython into a dedicated component definition pinned to the Fedora f43 security update.
  • Refreshes the component lock and source archive checksum.
  • Updates the rendered spec to version 3.2.1, release 6, with the upstream changelog entry.
File Description
specs/​g/​GitPython/​sources Updates the source archive name and SHA512 checksum.
specs/​g/​GitPython/​GitPython.spec Updates version, release, and security-fix changelog.
locks/​GitPython.lock Refreshes the upstream commit and input hashes.
base/​comps/​GitPython/​GitPython.comp.toml Adds the dedicated component definition and upstream pin.
base/​comps/​components.toml Removes the inline entry now defined in the dedicated file.

Review effort: Balanced

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.

🟢 Approval recommended

No active review issues remain for the GitPython package update.

No open issues 🎉

Review effort: Balanced

@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.

@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 5, 2026

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.

very minor nit-pick request, otherwise lgtm

Bump the Fedora f43 dist-git pin to GitPython-3.2.1:
https://src.fedoraproject.org/rpms/GitPython/c/0a071a42290db7047451ed6b4ac236f3ebd507c6

Addresses 1 CVE(s):
CVE-2026-114145

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

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.

🟢 Approval recommended

No active review issues are reported for the GitPython security update.

No open issues 🎉

Review effort: Balanced

@ddstreetmicrosoft

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

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

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.

lgtm

@ddstreetmicrosoft
Dan Streetman (ddstreetmicrosoft) merged commit 007a807 into 4.0 Nov 6, 2026
19 checks passed
@ddstreetmicrosoft
Dan Streetman (ddstreetmicrosoft) deleted the GitPython-3.2.1-cves branch November 6, 2026 01:16
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.

4 participants