]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
git: Ignore CVE-2022-24975
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Apr 2022 10:21:13 +0000 (11:21 +0100)
committerSteve Sakoman <steve@sakoman.com>
Thu, 14 Apr 2022 17:19:24 +0000 (07:19 -1000)
Everyone I've talked to doesn't see this as a major issue. The CVE
asks for a documentation improvement on the --mirror option to
git clone as deleted content could be leaked into a mirror. For OE's
general users/use cases, we wouldn't build or ship docs so this wouldn't
affect us.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5dfe2dd5482c9a446f8e722fe51903d205e6770d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/git/git.inc

index a89dd42e8b7f2675de4a4d4bcd912fbf59694974..ffbae145cf19f4d76638b2037fd85aa294446a2c 100644 (file)
@@ -20,6 +20,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7c0d7ef03a7eb04ce795b0f60e68e7e1"
 
 CVE_PRODUCT = "git-scm:git"
 
+# This is about a manpage not mentioning --mirror may "leak" information
+# in mirrored git repos. Most OE users wouldn't build the docs and
+# we don't see this as a major issue for our general users/usecases.
+CVE_CHECK_IGNORE += "CVE-2022-24975"
+
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[cvsserver] = ""
 PACKAGECONFIG[svn] = ""