THREAT OPS › Threat News › [GHSA] GHSA-gq48-pqfc-9p58 (medium) — GitPython: Submodule.move() follows an attacker-committed intermediate symlink outside the worktree
[GHSA] GHSA-gq48-pqfc-9p58 (medium) — GitPython: Submodule.move() follows an attacker-committed intermediate symlink outside the worktree
GHSA-gq48-pqfc-9p58 Severity: medium CVE: None
GitPython: Submodule.move() follows an attacker-committed intermediate symlink outside the worktree
## Summary
GitPython's public `Submodule.move()` API verifies that its destination is lexically inside the parent repository, but it does not reject symbolic links in the destination's intermediate components before filesystem operations. On systems
MITRE ATT&CK techniques
- Link TargetT1608.005
Indicators of compromise
- a4355d49e0b75c7c7e74d33ac70ff9550f940c977848c99da40eb41e034b189csha256
- 513b6f32fc44cc74bee1ca8e81e8ed3f48ae89bfdc332dd6782886bfd1d6a79csha256
- db47516dac750c5968b8f6d388b18712c355df50sha1
- b62e91be897f687a622e40cd1e59c33dce45f124sha1
- d09b80733baa4f6b198f2cf2d62bbfc5b6cbf1f0sha1
- fixture@example.invalidemail
Original source: https://github.com/advisories/GHSA-gq48-pqfc-9p58