Skip to content

chore(deps): bump gitpython and pillow - #1010

Merged
mprib merged 1 commit into
mainfrom
fix/dependabot-gitpython-pillow
Jul 27, 2026
Merged

chore(deps): bump gitpython and pillow#1010
mprib merged 1 commit into
mainfrom
fix/dependabot-gitpython-pillow

Conversation

@mprib

@mprib mprib commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Dependabot flagged 22 advisories across two packages. gitpython 3.1.50 carries command injection through unguarded git options, config section-name injection reaching core.sshCommand, and environment-variable exfiltration in clone URLs. pillow 12.2.0 carries heap out-of-bounds writes in Image.paste, Image.crop, ImageCmsTransform.apply and ImagingExpand, plus decompression-bomb check bypasses in the font and PDF loaders.

Both are dev-group transitives, gitpython via mkdocs-git-revision-date-localized-plugin and pillow via matplotlib. Neither reaches a user install, so pip install caliscope was never exposed.

Lockfile only. Both parents already accept the patched versions, so no pyproject.toml pins were needed.

CI covers the pillow path through the reprojection report tests. It does not build the docs, so mkdocs build --strict was run locally to exercise the gitpython plugin. It succeeds.

Both are dev-group transitives: gitpython via
mkdocs-git-revision-date-localized-plugin, pillow via matplotlib.
Neither reaches a user install.

gitpython 3.1.50 -> 3.1.57 closes command injection through unguarded
git options, config section-name injection reaching core.sshCommand,
and environment-variable exfiltration in clone URLs.

pillow 12.2.0 -> 12.3.0 closes heap out-of-bounds writes in
Image.paste, Image.crop, ImageCmsTransform.apply and ImagingExpand,
plus decompression-bomb check bypasses in the font and PDF loaders.
@mprib
mprib force-pushed the fix/dependabot-gitpython-pillow branch from 93b1999 to 30b822d Compare July 27, 2026 13:54
@mprib mprib changed the title chore: bump gitpython and pillow to patched versions chore(deps): bump gitpython and pillow Jul 27, 2026
@mprib
mprib merged commit 6b13556 into main Jul 27, 2026
5 checks passed
@mprib
mprib deleted the fix/dependabot-gitpython-pillow branch July 27, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant