Bug 1202800 - (CVE-2021-20224) VUL-0: CVE-2021-20224: ImageMagick: integer overflow in ExportIndexQuantum() function in MagickCore/quantum-export.c
(CVE-2021-20224)
VUL-0: CVE-2021-20224: ImageMagick: integer overflow in ExportIndexQuantum() ...
Status: NEW
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Major
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/340859/
CVSSv3.1:SUSE:CVE-2021-20224:6.2:(AV:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-08-26 07:05 UTC by Alexander Bergmann
Modified: 2023-03-16 15:45 UTC (History)
2 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 Alexander Bergmann 2022-08-26 07:05:56 UTC
CVE-2021-20224

An integer overflow issue was discovered in ImageMagick's ExportIndexQuantum()
function in MagickCore/quantum-export.c. Function calls to GetPixelIndex() could
result in values outside the range of representable for the 'unsigned char'.
When ImageMagick processes a crafted pdf file, this could lead to an undefined
behaviour or a crash.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-20224
https://github.com/ImageMagick/ImageMagick6/commit/553054c1cb1e4e05ec86237afef76a32cd7c464d
https://www.cve.org/CVERecord?id=CVE-2021-20224
https://github.com/ImageMagick/ImageMagick/commit/5af1dffa4b6ab984b5f13d1e91c95760d75f12a6
https://github.com/ImageMagick/ImageMagick/pull/3083
Comment 1 Petr Gajdos 2022-08-29 13:13:49 UTC
No testcase.

15sp4/ImageMagick: already fixed
15sp2,15,12/ImageMagick: submitted
11/ImageMagick:  ExportIndexQuantum() code not found
Comment 2 Petr Gajdos 2022-08-29 13:14:36 UTC
Submitted for 15sp2,15,12/ImageMagick.

I believe all fixed.
Comment 5 Swamp Workflow Management 2022-09-06 19:21:02 UTC
SUSE-SU-2022:3119-1: An update that fixes two vulnerabilities is now available.

Category: security (moderate)
Bug References: 1202250,1202800
CVE References: CVE-2021-20224,CVE-2022-2719
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    ImageMagick-7.0.7.34-150200.10.36.1
openSUSE Leap 15.3 (src):    ImageMagick-7.0.7.34-150200.10.36.1
SUSE Linux Enterprise Module for Development Tools 15-SP3 (src):    ImageMagick-7.0.7.34-150200.10.36.1
SUSE Linux Enterprise Module for Desktop Applications 15-SP3 (src):    ImageMagick-7.0.7.34-150200.10.36.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 6 Swamp Workflow Management 2022-09-07 13:23:07 UTC
SUSE-SU-2022:3138-1: An update that fixes one vulnerability is now available.

Category: security (moderate)
Bug References: 1202800
CVE References: CVE-2021-20224
JIRA References: 
Sources used:
SUSE Linux Enterprise Workstation Extension 12-SP5 (src):    ImageMagick-6.8.8.1-71.180.1
SUSE Linux Enterprise Software Development Kit 12-SP5 (src):    ImageMagick-6.8.8.1-71.180.1
SUSE Linux Enterprise Server 12-SP5 (src):    ImageMagick-6.8.8.1-71.180.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.