ghostscript: ignore CVE-2025-27833

Vulnerable code was introduced in 9.56.0, so 9.55.0 is not affected yet

Commit introducing vulnerable feature:
* https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/pdf/pdf_fmap.c?id=0a1d08d91a95746f41e8c1d578a4e4af81ee5949
Commit fixing the vulnerability:
* https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=477e36cfa1faa0037069a22eeeb4fc750733f120

(From OE-Core rev: e1f3d02e80f6bdd942321d9f6718dcc36afe9df8)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Peter Marko 2025-04-25 18:26:45 +02:00 committed by Steve Sakoman
parent fd6b4fb511
commit f6bbf5dc3a

View File

@ -22,9 +22,10 @@ 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_IGNORE += "CVE-2013-6629"
# Issue in the GhostPCL. GhostPCL not part of this GhostScript recipe.
CVE_CHECK_IGNORE += "CVE-2023-38560 CVE-2024-46954"
# Vulnerable code was introduced in 9.56.0, so 9.55.0 is not affected yet
CVE_CHECK_IGNORE += "CVE-2025-27833"
def gs_verdir(v):
return "".join(v.split("."))