mirror of
https://git.yoctoproject.org/poky
synced 2026-02-08 09:46:38 +01:00
python3-git: fix for CVE-2022-24439
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. CVE: CVE-2022-24439 Upstream-Status: Backport Reference: https://github.com/gitpython-developers/GitPython/discussions/1529 https://github.com/gitpython-developers/GitPython/pull/1518 https://github.com/gitpython-developers/GitPython/pull/1521 (From OE-Core rev: 55f93e3786290dfa5ac72b5969bb2793f6a98bde) Signed-off-by: Narpat Mali <narpat.mali@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fd36d262b8
commit
07213601fd
@@ -12,6 +12,10 @@ PYPI_PACKAGE = "GitPython"
|
||||
|
||||
inherit pypi python_setuptools_build_meta
|
||||
|
||||
SRC_URI += "file://0001-python3-git-CVE-2022-24439-fix-from-PR-1518.patch \
|
||||
file://0001-python3-git-CVE-2022-24439-fix-from-PR-1521.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "1c885ce809e8ba2d88a29befeb385fcea06338d3640712b59ca623c220bb5704"
|
||||
|
||||
DEPENDS += " ${PYTHON_PN}-gitdb"
|
||||
|
||||
Reference in New Issue
Block a user