Bug 1214578 (CVE-2020-21679) - VUL-0: CVE-2020-21679: GraphicsMagick, ImageMagick: Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4 allows remote attackers to cause a denial of service.
Summary: VUL-0: CVE-2020-21679: GraphicsMagick, ImageMagick: Buffer Overflow vulnerabi...
Status: RESOLVED FIXED
Alias: CVE-2020-21679
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/375966/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-24 13:07 UTC by Yvann Ferry
Modified: 2024-05-28 08:42 UTC (History)
4 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yvann Ferry 2023-08-24 13:07:50 UTC
Buffer Overflow vulnerability in WritePCXImage function in pcx.c in
GraphicsMagick 1.4 allows remote attackers to cause a denial of service via
converting of crafted image file to pcx format.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-21679
https://www.cve.org/CVERecord?id=CVE-2020-21679
https://sourceforge.net/p/graphicsmagick/bugs/619/
Comment 1 Petr Gajdos 2023-08-25 10:13:27 UTC
GraphicsMagick

Changeset 16181:bd13b1d335f3 is part of devel,15sp3/GraphicsMagick already.


ImageMagick

I do not see any memory issues in valgrind with the testcase from the upstream report.

There was I believe similar hardening in ImageMagick in the past, fx.:

https://github.com/ImageMagick/ImageMagick/commit/c6409227c430f114b6425337e64b848535b62e0b

I propose to unify it across codestreams and use this CVE identifier for that.

Will submit for 15sp2,15,12/ImageMagick.
Comment 2 Petr Gajdos 2023-08-25 10:15:49 UTC
Packages submitted. I believe all fixed.
Comment 3 Yvann Ferry 2023-08-25 10:47:26 UTC
current codestreams aren't affected. Closing.
Comment 11 Maintenance Automation 2023-09-22 20:30:02 UTC
SUSE-SU-2023:3739-1: An update that solves one vulnerability can now be installed.

Category: security (moderate)
Bug References: 1214578
CVE References: CVE-2020-21679
Sources used:
SUSE Linux Enterprise Software Development Kit 12 SP5 (src): ImageMagick-6.8.8.1-71.198.1
SUSE Linux Enterprise High Performance Computing 12 SP5 (src): ImageMagick-6.8.8.1-71.198.1
SUSE Linux Enterprise Server 12 SP5 (src): ImageMagick-6.8.8.1-71.198.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): ImageMagick-6.8.8.1-71.198.1
SUSE Linux Enterprise Workstation Extension 12 12-SP5 (src): ImageMagick-6.8.8.1-71.198.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 12 Maintenance Automation 2023-09-26 20:30:20 UTC
SUSE-SU-2023:3792-1: An update that solves one vulnerability can now be installed.

Category: security (moderate)
Bug References: 1214578
CVE References: CVE-2020-21679
Sources used:
openSUSE Leap 15.4 (src): ImageMagick-7.0.7.34-150200.10.54.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 14 Maintenance Automation 2023-12-01 20:30:10 UTC
SUSE-SU-2023:4634-1: An update that solves 24 vulnerabilities and has one security fix can now be installed.

Category: security (important)
Bug References: 1153866, 1181836, 1182325, 1182335, 1182336, 1182337, 1184624, 1184626, 1184627, 1184628, 1195563, 1197147, 1199350, 1200387, 1200388, 1200389, 1202250, 1202800, 1207982, 1207983, 1209141, 1211791, 1213624, 1214578, 1215939
CVE References: CVE-2019-17540, CVE-2020-21679, CVE-2021-20176, CVE-2021-20224, CVE-2021-20241, CVE-2021-20243, CVE-2021-20244, CVE-2021-20246, CVE-2021-20309, CVE-2021-20311, CVE-2021-20312, CVE-2021-20313, CVE-2022-0284, CVE-2022-2719, CVE-2022-28463, CVE-2022-32545, CVE-2022-32546, CVE-2022-32547, CVE-2022-44267, CVE-2022-44268, CVE-2023-1289, CVE-2023-34151, CVE-2023-3745, CVE-2023-5341
Sources used:
SUSE CaaS Platform 4.0 (src): ImageMagick-7.0.7.34-150000.3.123.1
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS 15-SP1 (src): ImageMagick-7.0.7.34-150000.3.123.1
SUSE Linux Enterprise Server 15 SP1 LTSS 15-SP1 (src): ImageMagick-7.0.7.34-150000.3.123.1
SUSE Linux Enterprise Server for SAP Applications 15 SP1 (src): ImageMagick-7.0.7.34-150000.3.123.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 15 Robert Frohl 2024-05-28 08:42:24 UTC
done, closing