Lucene search

K
ubuntucveUbuntu.comUB:CVE-2020-25674
HistoryDec 08, 2020 - 12:00 a.m.

CVE-2020-25674

2020-12-0800:00:00
ubuntu.com
ubuntu.com
25
cve-2020-25674
heap-buffer-overflow
improper exit condition
colormap
patch
imagemagick
application availability
specially crafted input file
imagemagick 7.0.8-68
github issue 1715
unix

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

34.6%

WriteOnePNGImage() from coders/png.c (the PNG coder) has a for loop with an
improper exit condition that can allow an out-of-bounds READ via
heap-buffer-overflow. This occurs because it is possible for the colormap
to have less than 256 valid values but the loop condition will loop 256
times, attempting to pass invalid colormap data to the event logger. The
patch replaces the hardcoded 256 value with a call to MagickMin() to ensure
the proper value is used. This could impact application availability when a
specially crafted input file is processed by ImageMagick. This flaw affects
ImageMagick versions prior to 7.0.8-68.

Bugs

OSVersionArchitecturePackageVersionFilename
ubuntu18.04noarchimagemagick< 8:6.9.7.4+dfsg-16ubuntu6.11UNKNOWN
ubuntu20.04noarchimagemagick< 8:6.9.10.23+dfsg-2.1ubuntu11.4UNKNOWN
ubuntu20.10noarchimagemagick< 8:6.9.10.23+dfsg-2.1ubuntu13.3UNKNOWN
ubuntu14.04noarchimagemagick< anyUNKNOWN
ubuntu16.04noarchimagemagick< 8:6.8.9.9-7ubuntu5.16+esm2UNKNOWN

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

34.6%