ghostscript: ignore CVE-2020-36773
PATCH 1/1 ghostscript: ignore CVE-2020-36773
From: Vijay Anusuri <[email protected]>
Artifex Ghostscript before 9.53.0 has an out-of-bounds write and use-after-free in devices/vector/gdevtxtw.c (for txtwrite) because a single character code in a PDF document can map to more than one Unicode code point (e.g., for a ligature).
Reference: https://ubuntu.com/security/CVE-2020-36773
--- meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb +4 -0
@@ -26,6 +26,10 @@ CVE_CHECK_IGNORE += "CVE-2013-6629" # Issue in the GhostPCL. GhostPCL not part of this GhostScript recipe. CVE_CHECK_IGNORE += "CVE-2023-38560" +# This CVE affects Ghostscript before 9.53.0 +# https://ubuntu.com/security/CVE-2020-36773 +CVE_CHECK_IGNORE += "CVE-2020-36773" + def gs_verdir(v): return "".join(v.split("."))
Signature · 1 line
2.25.1
Patchtest results for [OE-core][kirkstone][PATCH] ghostscript: ignore CVE-2020-36773
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information:
---
Testing patch /home/patchtest/share/mboxes/kirkstone-ghostscript-ignore-CVE-2020-36773.patch
FAIL: test CVE check ignore: CVE_CHECK_IGNORE is deprecated and should be replaced by CVE_STATUS (test_metadata.TestMetadata.test_cve_check_ignore)
PASS: pretest src uri left files (test_metadata.TestMetadata.pretest_src_uri_left_files)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence)
PASS: test lic files chksum modified not mentioned (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test src uri left files (test_metadata.TestMetadata.test_src_uri_left_files)
SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test CVE tag format: No new CVE patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new CVE patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new CVE patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)
SKIP: test target mailing list: Series merged, no reason to check other mailing lists (test_mbox.TestMbox.test_target_mailing_list)
---
Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this email with an explanation of why the patch should be accepted. If you believe these results are due to an error in patchtest, please submit a bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category under 'Yocto Project Subprojects'). For more information on specific failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank you!
Quoted 17 lines · Vijay Anusuri via lists.openembedded.org
From: Vijay Anusuri <[email protected]>
Artifex Ghostscript before 9.53.0 has an out-of-bounds write and use-after-free in
devices/vector/gdevtxtw.c(for txtwrite) because a single character code in a PDF document can map to more than one Unicode code point (e.g., for a ligature).Reference: https://ubuntu.com/security/CVE-2020-36773
Signed-off-by Vijay Anusuri <[email protected]>--- meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb | 4 ++++ 1 file changed, 4 insertions(+)meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb +0
-0
meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb CVE_CHECK_IGNORE += "CVE-2013-6629" · line 31
Quoted 6 lines
meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb +3
-0@@ -26,6 +26,10 @@ CVE_CHECK_IGNORE += "CVE-2013-6629" # Issue in the GhostPCL. GhostPCL not part of this GhostScript recipe. CVE_CHECK_IGNORE += "CVE-2023-38560" +# This CVE affects Ghostscript before 9.53.0 +# https://ubuntu.com/security/CVE-2020-36773 +CVE_CHECK_IGNORE += "CVE-2020-36773"
When there is an error in the upstream database it is preferred that you send an email to [email protected] requesting an update (giving links that justify the change to make it easy for them to research)
They are usually quite responsive, and this is much preferred to carrying an IGNORE in our metadata.
Thanks!
Steve
Quoted 16 lines
meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb +1
-1+ def gs_verdir(v): return "".join(v.split(".")) --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#195101): https://lists.openembedded.org/g/openembedded-core/message/195101
Mute This Topic: https://lists.openembedded.org/mt/104234914/3620601
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Hi Steve,
I've sent mail to [email protected] to update the information.
Now it was updated in https://nvd.nist.gov/vuln/detail/CVE-2020-36773
Thanks & Regards,
Vijay
Quoted 51 lines · Steve Sakoman
Quoted 4 lines · Vijay Anusuri via lists.openembedded.org
From: Vijay Anusuri <[email protected]>
Artifex Ghostscript before 9.53.0 has an out-of-bounds write and
use-after-free in
devices/vector/gdevtxtw.c(for txtwrite) because a single character code in a PDF document can map to more than one Unicode code point (e.g., for a ligature).Review
Quoted 9 lines
Reference: https://ubuntu.com/security/CVE-2020-36773
Signed-off-by Vijay Anusuri <[email protected]>--- meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb | 4 ++++ 1 file changed, 4 insertions(+)(quoted diff) +0
-0b/meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb
meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb CVE_CHECK_IGNORE += "CVE-2013-6629" · line 31
Quoted 10 lines
index
e0d1e4618f..cc06d092c1100644meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb +3
-0@@ -26,6 +26,10 @@ CVE_CHECK_IGNORE += "CVE-2013-6629" # Issue in the GhostPCL. GhostPCL not part of this GhostScript recipe. CVE_CHECK_IGNORE += "CVE-2023-38560" +# This CVE affects Ghostscript before 9.53.0 +# https://ubuntu.com/security/CVE-2020-36773 +CVE_CHECK_IGNORE += "CVE-2020-36773"When there is an error in the upstream database it is preferred that you send an email to [email protected] requesting an update (giving links that justify the change to make it easy for them to research)
They are usually quite responsive, and this is much preferred to carrying an IGNORE in our metadata.
Thanks!
Steve
Quoted 8 lines
meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb +1
-1+ def gs_verdir(v): return "".join(v.split(".")) --2.25.1
Quoted 11 lines
Quoted 3 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#195101):https://lists.openembedded.org/g/openembedded-core/message/195101
Quoted 3 lines
Mute This Topic: https://lists.openembedded.org/mt/104234914/3620601
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
Good afternoon,
We apologize for the late response as we are currently experiencing a large volume of CPE related inquiries.
Thank you for bringing this to our attention. We appreciate community input in order to provide the most accurate and up-to-date information as possible. After reviewing publicly available information we have made the appropriate modifications. Please allow up to 24 hours for the changes to be reflected on the website and in the data feeds.
V/r,
Common Platform Enumeration Team
National Institute of Standards and Technology (NIST)
[email protected]<mailto:[email protected]>
From: Vijay Anusuri <[email protected]>
Sent: Thursday, February 8, 2024 10:52 PM
To: cpe_dictionary <[email protected]>
Subject: CVE-2020-36773 update
Hi Team,
CVE-2020-36773 was fixed in the Ghostscript version 9.53.0 by the below commit
https://git.ghostscript.com/?p=ghostpdl.git;h=8c7bd787defa071c96289b7da9397f673fddb874
This issue introduced in 9.51 as described in the patch.
Affected versions: 9.51 & 9.52
References: https://ghostscript.com/docs/9.53.3/History9.htm
https://ubuntu.com/security/CVE-2020-36773
Could you please update this in upstream database.
Thanks & Regards,
Vijay
Quoted 6 lines · Vijay Anusuri
Hi Steve,
I've sent mail to [email protected] to update the information.
Now it was updated in https://nvd.nist.gov/vuln/detail/CVE-2020-36773
Thanks!
Steve
Quoted 57 lines · Steve Sakoman
Quoted 56 lines
Quoted 17 lines · Vijay Anusuri via lists.openembedded.org
From: Vijay Anusuri <[email protected]>
Artifex Ghostscript before 9.53.0 has an out-of-bounds write and use-after-free in
devices/vector/gdevtxtw.c(for txtwrite) because a single character code in a PDF document can map to more than one Unicode code point (e.g., for a ligature).Reference: https://ubuntu.com/security/CVE-2020-36773
Signed-off-by Vijay Anusuri <[email protected]>--- meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb | 4 ++++ 1 file changed, 4 insertions(+)meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb +0
-0meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb CVE_CHECK_IGNORE += "CVE-2013-6629" · line 31
Quoted 6 lines
meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb +3
-0@@ -26,6 +26,10 @@ CVE_CHECK_IGNORE += "CVE-2013-6629" # Issue in the GhostPCL. GhostPCL not part of this GhostScript recipe. CVE_CHECK_IGNORE += "CVE-2023-38560" +# This CVE affects Ghostscript before 9.53.0 +# https://ubuntu.com/security/CVE-2020-36773 +CVE_CHECK_IGNORE += "CVE-2020-36773"When there is an error in the upstream database it is preferred that you send an email to [email protected] requesting an update (giving links that justify the change to make it easy for them to research)
They are usually quite responsive, and this is much preferred to carrying an IGNORE in our metadata.
Thanks!
Steve
Quoted 16 lines
meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb +1
-1+ def gs_verdir(v): return "".join(v.split(".")) --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#195101): https://lists.openembedded.org/g/openembedded-core/message/195101
Mute This Topic: https://lists.openembedded.org/mt/104234914/3620601
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-