]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
git: Ignore CVE-2022-24975
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Apr 2022 10:21:13 +0000 (11:21 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Apr 2022 15:39:27 +0000 (16:39 +0100)
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>
meta/recipes-devtools/git/git_2.35.1.bb

index 47c22118640243ebdfc749f4f74948af05056289..e39142128b3acff3d52655a532c1e1240a48dc40 100644 (file)
@@ -18,6 +18,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 ??= "expat curl"
 PACKAGECONFIG[cvsserver] = ""
 PACKAGECONFIG[svn] = ""