{"api_version":"1","generated_at":"2026-04-22T19:37:46+00:00","cve":"CVE-2022-24439","urls":{"html":"https://cve.report/CVE-2022-24439","api":"https://cve.report/api/cve/CVE-2022-24439.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-24439","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-24439"},"summary":{"title":"CVE-2022-24439","description":"All versions of package gitpython are vulnerable to Remote Code Execution (RCE) due to improper user input validation, which makes it possible to inject a maliciously crafted remote URL into the clone command. Exploiting this vulnerability is possible because the library makes external calls to git without sufficient sanitization of input arguments.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2022-12-06 05:15:00","updated_at":"2024-01-09 03:21:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PF6AXUTC5BO7L2SBJMCVKJSPKWY52I5R/","name":"FEDORA-2023-1ec4e542f9","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 38 Update: GitPython-3.1.32-1.fc38 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00024.html","name":"[debian-lts-announce] 20230725 [SECURITY] [DLA 3502-1] python-git security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3502-1] python-git security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202311-01","name":"GLSA-202311-01","refsource":"GENTOO","tags":[],"title":"GitPython: Code Execution via Crafted Input (GLSA 202311-01) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AV5DV7GBLMOZT7U3Q4TDOJO5R6G3V6GH/","name":"FEDORA-2023-26116901d9","refsource":"","tags":[],"title":"[SECURITY] Fedora 37 Update: GitPython-3.1.32-1.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF6AXUTC5BO7L2SBJMCVKJSPKWY52I5R/","name":"FEDORA-2023-1ec4e542f9","refsource":"","tags":[],"title":"[SECURITY] Fedora 38 Update: GitPython-3.1.32-1.fc38 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IKMVYKLWX62UEYKAN64RUZMOIAMZM5JN/","name":"FEDORA-2022-8146a727a8","refsource":"","tags":[],"title":"[SECURITY] Fedora 37 Update: GitPython-3.1.30-1.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SJHN3QUXPJIMM6SULIR3PR34UFWRAE7X/","name":"FEDORA-2022-ce7369b9ec","refsource":"","tags":[],"title":"[SECURITY] Fedora 36 Update: GitPython-3.1.30-1.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SJHN3QUXPJIMM6SULIR3PR34UFWRAE7X/","name":"FEDORA-2022-ce7369b9ec","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 36 Update: GitPython-3.1.30-1.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IKMVYKLWX62UEYKAN64RUZMOIAMZM5JN/","name":"FEDORA-2022-8146a727a8","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 37 Update: GitPython-3.1.30-1.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858","name":"N/A","refsource":"CONFIRM","tags":[],"title":"Remote Code Execution (RCE) in gitpython | CVE-2022-24439 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py%23L1249","name":"N/A","refsource":"CONFIRM","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":""},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AV5DV7GBLMOZT7U3Q4TDOJO5R6G3V6GH/","name":"FEDORA-2023-26116901d9","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 37 Update: GitPython-3.1.32-1.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py#L1249","name":"MISC:https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py%23L1249","refsource":"MITRE","tags":[],"title":"GitPython/base.py at bec61576ae75803bc4e60d8de7a629c194313d1c · gitpython-developers/GitPython · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-24439","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24439","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Sam Wheating","lang":""}],"nvd_cpes":[{"cve_year":"2022","cve_id":"24439","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"24439","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"36","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"24439","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"37","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"24439","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"38","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"24439","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gitpython_project","cpe5":"gitpython","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"python","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"24439","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gitpython_project","cpe5":"gitpython","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"python","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-24439","qid":"184908","title":"Debian Security Update for python-git (CVE-2022-24439)"},{"cve":"CVE-2022-24439","qid":"199509","title":"Ubuntu Security Notification for GitPython Vulnerability (USN-5968-1)"},{"cve":"CVE-2022-24439","qid":"242363","title":"Red Hat Update for Satellite 6.13.5 (RHSA-2023:5931)"},{"cve":"CVE-2022-24439","qid":"283577","title":"Fedora Security Update for GitPython (FEDORA-2022-8146a727a8)"},{"cve":"CVE-2022-24439","qid":"283582","title":"Fedora Security Update for GitPython (FEDORA-2022-ce7369b9ec)"},{"cve":"CVE-2022-24439","qid":"284433","title":"Fedora Security Update for GitPython (FEDORA-2023-1ec4e542f9)"},{"cve":"CVE-2022-24439","qid":"6000125","title":"Debian Security Update for python-git (DLA 3502-1)"},{"cve":"CVE-2022-24439","qid":"710784","title":"Gentoo Linux GitPython Code Execution via Crafted Input Vulnerability (GLSA 202311-01)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-12-06T05:00:01.400400Z","ID":"CVE-2022-24439","STATE":"PUBLIC","TITLE":"Remote Code Execution (RCE)"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"GitPython","version":{"version_data":[{"version_affected":">=","version_value":"0"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Remote Code Execution (RCE)"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858","name":"https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858"},{"refsource":"MISC","url":"https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py%23L1249","name":"https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py%23L1249"},{"refsource":"FEDORA","name":"FEDORA-2022-8146a727a8","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IKMVYKLWX62UEYKAN64RUZMOIAMZM5JN/"},{"refsource":"FEDORA","name":"FEDORA-2022-ce7369b9ec","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SJHN3QUXPJIMM6SULIR3PR34UFWRAE7X/"},{"refsource":"MLIST","name":"[debian-lts-announce] 20230725 [SECURITY] [DLA 3502-1] python-git security update","url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00024.html"},{"refsource":"FEDORA","name":"FEDORA-2023-1ec4e542f9","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PF6AXUTC5BO7L2SBJMCVKJSPKWY52I5R/"},{"refsource":"FEDORA","name":"FEDORA-2023-26116901d9","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AV5DV7GBLMOZT7U3Q4TDOJO5R6G3V6GH/"},{"refsource":"GENTOO","name":"GLSA-202311-01","url":"https://security.gentoo.org/glsa/202311-01"}]},"description":{"description_data":[{"lang":"eng","value":"All versions of package gitpython are vulnerable to Remote Code Execution (RCE) due to improper user input validation, which makes it possible to inject a maliciously crafted remote URL into the clone command. Exploiting this vulnerability is possible because the library makes external calls to git without sufficient sanitization of input arguments."}]},"impact":{"cvss":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},"credit":[{"lang":"eng","value":"Sam Wheating"}]},"nvd":{"publishedDate":"2022-12-06 05:15:00","lastModifiedDate":"2024-01-09 03:21:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*","versionEndExcluding":"3.1.30","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}