CVE-2020-27756
Published: 8 December 2020
In ParseMetaGeometry() of MagickCore/geometry.c, image height and width calculations can lead to divide-by-zero conditions which also lead to undefined behavior. This flaw can be triggered by a crafted input file processed by ImageMagick and could impact application availability. The patch uses multiplication in addition to the function `PerceptibleReciprocal()` in order to prevent such divide-by-zero conditions. This flaw affects ImageMagick versions prior to 7.0.9-0.
Priority
Status
Package | Release | Status |
---|---|---|
imagemagick
Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(code not present)
|
focal |
Released
(8:6.9.10.23+dfsg-2.1ubuntu11.4)
|
|
groovy |
Released
(8:6.9.10.23+dfsg-2.1ubuntu13.3)
|
|
hirsute |
Not vulnerable
(8:6.9.11.60+dfsg-1ubuntu1)
|
|
impish |
Not vulnerable
(8:6.9.11.60+dfsg-1ubuntu1)
|
|
jammy |
Not vulnerable
(8:6.9.11.60+dfsg-1ubuntu1)
|
|
kinetic |
Not vulnerable
(8:6.9.11.60+dfsg-1ubuntu1)
|
|
lunar |
Not vulnerable
(8:6.9.11.60+dfsg-1ubuntu1)
|
|
trusty |
Not vulnerable
(code not present)
|
|
upstream |
Released
(8:6.9.11.24+dfsg-1)
|
|
xenial |
Not vulnerable
(code not present)
|
|
Patches:
upstream: https://github.com/ImageMagick/ImageMagick6/commit/d3d96f05950275b916207bf9df03640ef3e9fd6e |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 5.5 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |