VDB
GHSA-hcpj-qp55-gfph
GHSA-hcpj-qp55-gfph
PUBLISHED
CVSS 8.100000381469727 HIGH
GitPython vulnerable to Remote Code Execution due to improper user input validation
Record from GitHub Advisory Database · Published December 6, 2022
GitPython is fixed in 3.1.30 (PyPI)
GitPython vulnerable to Remote Code Execution due to improper user input validation
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| GitPython | PyPI | 3.1.30 |
Risk scores
CVSS 3.1
8.100000381469727
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PyPI | GitPython | 0 |
| PyPI | gitpython | 0.1.7, 0.2.0-beta1, 0.3.0-beta1 |
| PyPI | GitPython | 0 |
Timeline
- Dec 6, 2022 CVE Published
- Apr 29, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-hcpj-qp55-gfph
vulnetix vdb fixes GHSA-hcpj-qp55-gfph
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-hcpj-qp55-gfph/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GitHub Advisory GHSA-hcpj-qp55-gfph vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AV5DV7GBLMOZT7U3Q4TDOJO5R6G3V6GH url
- https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858 url
- https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py%23L1249 url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF6AXUTC5BO7L2SBJMCVKJSPKWY52I5R url
- https://github.com/gitpython-developers/GitPython/releases/tag/3.1.30 url
- https://lists.debian.org/debian-lts-announce/2024/10/msg00030.html url
- https://github.com/gitpython-developers/GitPython package
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AV5DV7GBLMOZT7U3Q4TDOJO5R6G3V6GH url
- https://security.gentoo.org/glsa/202311-01 url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SJHN3QUXPJIMM6SULIR3PR34UFWRAE7X url
- https://lists.debian.org/debian-lts-announce/2023/07/msg00024.html url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IKMVYKLWX62UEYKAN64RUZMOIAMZM5JN url
- https://github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2022-42992.yaml url
- https://github.com/gitpython-developers/GitPython/commit/2625ed9fc074091c531c27ffcba7902771130261 url
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IKMVYKLWX62UEYKAN64RUZMOIAMZM5JN url
- https://github.com/gitpython-developers/GitPython/issues/1515 url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PF6AXUTC5BO7L2SBJMCVKJSPKWY52I5R url
- https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py#L1249 url
- https://nvd.nist.gov/vuln/detail/CVE-2022-24439 advisory
…and 1 more