]> code.ossystems Code Review - openembedded-core.git/commitdiff
ghostscript: Exclude CVE-2013-6629 from cve-check
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 May 2021 12:44:09 +0000 (13:44 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 May 2021 22:05:17 +0000 (23:05 +0100)
The CVE is in the jpeg sources included with ghostscript. We use our own
external jpeg library so this doesn't affect us.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/ghostscript/ghostscript_9.54.0.bb

index 9ace037aa954ee7d598d2f8e9459c9ea263ed5a5..81f8d615aed2f2a2b2efeddf39af1dfd5482249a 100644 (file)
@@ -19,6 +19,10 @@ DEPENDS_class-native = "libpng-native"
 UPSTREAM_CHECK_URI = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases"
 UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar"
 
+# As of ghostscript 9.54.0 the jpeg issue in the CVE is present in the gs jpeg sources
+# however we use an external jpeg which doesn't have the issue.
+CVE_CHECK_WHITELIST += "CVE-2013-6629"
+
 def gs_verdir(v):
     return "".join(v.split("."))