GitPython is a python library used to interact with Git repositories. From version 3.1.30 to before version 3.1.47, GitPython blocks dangerous Git options such as --upload-pack and --receive-pack by default, but the equivalent Python kwargs uploadpack and receivepack bypass that check. If an application passes attacker-controlled kwargs into Repo.clonefrom(), Remote.fetch(), Remote.pull(), or Remote.push(), this leads to arbitrary command execution even when allowunsafe_options is left at its default value of False. This issue has been patched in version 3.1.47.
{
"binaries": [
{
"binary_name": "python-git",
"binary_version": "1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm4"
},
{
"binary_name": "python3-git",
"binary_version": "1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm4"
}
],
"availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"
}