Skip to contentSkip to conversation

git: fix CVE-2021-21300

PATCH New Minjae Kim 1 participant 1 message Mar 27, 2021

lore
Share & tools
lore

Minjae Kim

author
#0 lore raw

PATCH 1/1 git: fix CVE-2021-21300

checkout: fix bug that makes checkout follow symlinks in leading path

Upstream-Status: Acepted [https://github.com/git/git/commit/684dd4c2b414bcf648505e74498a608f28de4592]
CVE: CVE-2021-21300

---
 meta/recipes-devtools/git/git.inc             |   4 +-
 .../git/git/CVE-2021-21300.patch              | 304 ++++++++++++++++++
 2 files changed, 307 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-devtools/git/git/CVE-2021-21300.patch
meta/recipes-devtools/git/git.inc +3 -1
index 586a305b27..3e78254eec 100644
@@ -8,7 +8,9 @@ PROVIDES_append_class-native = " git-replacement-native"
 
 SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.gz;name=tarball \
            ${KERNELORG_MIRROR}/software/scm/git/git-manpages-${PV}.tar.gz;name=manpages \
-           file://fixsort.patch"
+           file://fixsort.patch \
+	   file://CVE-2021-21300.patch \
+"
 
 S = "${WORKDIR}/git-${PV}"
 
meta/recipes-devtools/git/git/CVE-2021-21300.patch new file +304 -0

304 lines not on this page · raw message

Signature · 1 line
2.17.1