CVE-2020-27771

CVSS V2 Medium 4.3 CVSS V3 Low 3.3
Description
In RestoreMSCWarning() of /coders/pdf.c there are several areas where calls to GetPixelIndex() could result in values outside the range of representable for the unsigned char type. The patch casts the return value of GetPixelIndex() to ssize_t type to avoid this bug. This undefined behavior could be triggered when ImageMagick processes a crafted pdf file. Red Hat Product Security marked this as Low severity because although it could potentially lead to an impact to application availability, no specific impact was demonstrated in this case. This flaw affects ImageMagick versions prior to 7.0.9-0.
Overview
  • CVE ID
  • CVE-2020-27771
  • Assigner
  • secalert@redhat.com
  • Vulnerability Status
  • Modified
  • Published Version
  • 2020-12-04T15:15:10
  • Last Modified Date
  • 2023-03-11T23:15:15
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* 1 OR 6.9.10-69
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* 1 OR 7.0.0-0 7.0.9
cpe:2.3:o:redhat:enterprise_linux:5.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:N/C:N/I:N/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • NONE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • NONE
  • Availability Impact
  • PARTIAL
  • Base Score
  • 4.3
  • Severity
  • MEDIUM
  • Exploitability Score
  • 8.6
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
  • Attack Vector
  • LOCAL
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • REQUIRED
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • NONE
  • Availability Impact
  • LOW
  • Base Score
  • 3.3
  • Base Severity
  • LOW
  • Exploitability Score
  • 1.8
  • Impact Score
  • 1.4
References
History
Created Old Value New Value Data Type Notes
2022-05-10 16:13:51 Added to TrackCVE
2022-12-05 17:37:13 2020-12-04T15:15Z 2020-12-04T15:15:10 CVE Published Date updated
2022-12-05 17:37:13 2021-06-02T19:13:21 CVE Modified Date updated
2022-12-05 17:37:13 Analyzed Vulnerability Status updated
2023-03-12 00:12:22 2023-03-11T23:15:15 CVE Modified Date updated
2023-03-12 00:12:22 Analyzed Modified Vulnerability Status updated
2023-03-12 00:12:24 References updated