GitPython 是一个用于与 Git 仓库交互的 Python 库。在 3.2.1 版本之前, 中的 函数会接受攻击者可控制的子模块路径(例如 ),并在安全地拒绝目标路径之前先调用 。在 3.1.x 系列版本中,由于不存在 函数,该调用会静默成功;而在 3.2.0 及之后受影响的版本中, 中的检查仅在克隆操作已将内容写入磁盘后才会抛出 异常,且不会删除已植入的文件。因此,攻击者可通过控制子模块路径,植入一个可执行的 钩子脚本,该脚本会在后续的 Git 操作中被执行。 利用此漏洞需要满足以下条件:应用程序接受不可
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| gitpython-developers | GitPython | < 3.2.1 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| gitpython-developers | GitPython | < 3.2.1 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet