UBUNTU-CVE-2021-39212

Source
https://ubuntu.com/security/CVE-2021-39212
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-39212.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-39212
Related
Published
2021-09-13T18:15:00Z
Modified
2024-10-15T14:08:21Z
Severity
  • 3.6 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you may use, copy, modify, and distribute in both open and proprietary applications. In affected versions and in certain cases, Postscript files could be read and written when specifically excluded by a module policy in policy.xml. ex. <policy domain="module" rights="none" pattern="PS" />. The issue has been resolved in ImageMagick 7.1.0-7 and in 6.9.12-22. Fortunately, in the wild, few users utilize the module policy and instead use the coder policy that is also our workaround recommendation: <policy domain="coder" rights="none" pattern="{PS,EPI,EPS,EPSF,EPSI}" />.

References

Affected packages

Ubuntu:20.04:LTS / imagemagick

Package

Name
imagemagick
Purl
pkg:deb/ubuntu/imagemagick?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8:6.9.10.23+dfsg-2.1ubuntu11.9

Affected versions

8:6.*

8:6.9.10.23+dfsg-2.1ubuntu3
8:6.9.10.23+dfsg-2.1ubuntu8
8:6.9.10.23+dfsg-2.1ubuntu9
8:6.9.10.23+dfsg-2.1ubuntu10
8:6.9.10.23+dfsg-2.1ubuntu11
8:6.9.10.23+dfsg-2.1ubuntu11.1
8:6.9.10.23+dfsg-2.1ubuntu11.2
8:6.9.10.23+dfsg-2.1ubuntu11.4
8:6.9.10.23+dfsg-2.1ubuntu11.5
8:6.9.10.23+dfsg-2.1ubuntu11.6
8:6.9.10.23+dfsg-2.1ubuntu11.7

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "imagemagick"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "imagemagick-6-common"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "imagemagick-6-doc"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "imagemagick-6.q16"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "imagemagick-6.q16-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "imagemagick-6.q16hdri"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "imagemagick-6.q16hdri-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "imagemagick-common"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "imagemagick-doc"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libimage-magick-perl"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libimage-magick-q16-perl"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libimage-magick-q16-perl-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libimage-magick-q16hdri-perl"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libimage-magick-q16hdri-perl-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagick++-6-headers"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagick++-6.q16-8"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagick++-6.q16-8-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagick++-6.q16-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagick++-6.q16hdri-8"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagick++-6.q16hdri-8-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagick++-6.q16hdri-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagick++-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickcore-6-arch-config"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickcore-6-headers"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickcore-6.q16-6"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickcore-6.q16-6-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickcore-6.q16-6-extra"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickcore-6.q16-6-extra-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickcore-6.q16-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickcore-6.q16hdri-6"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickcore-6.q16hdri-6-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickcore-6.q16hdri-6-extra"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickcore-6.q16hdri-6-extra-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickcore-6.q16hdri-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickcore-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickwand-6-headers"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickwand-6.q16-6"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickwand-6.q16-6-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickwand-6.q16-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickwand-6.q16hdri-6"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickwand-6.q16hdri-6-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickwand-6.q16hdri-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "libmagickwand-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.9",
            "binary_name": "perlmagick"
        }
    ]
}

Ubuntu:22.04:LTS / imagemagick

Package

Name
imagemagick
Purl
pkg:deb/ubuntu/imagemagick?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

8:6.*

8:6.9.11.60+dfsg-1ubuntu1
8:6.9.11.60+dfsg-1.3
8:6.9.11.60+dfsg-1.3build1
8:6.9.11.60+dfsg-1.3build2
8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1
8:6.9.11.60+dfsg-1.3ubuntu0.22.04.2
8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3
8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:Pro:22.04:LTS / imagemagick

Package

Name
imagemagick
Purl
pkg:deb/ubuntu/imagemagick?arch=src?distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1

Affected versions

8:6.*

8:6.9.11.60+dfsg-1ubuntu1
8:6.9.11.60+dfsg-1.3
8:6.9.11.60+dfsg-1.3build1
8:6.9.11.60+dfsg-1.3build2
8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1
8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1
8:6.9.11.60+dfsg-1.3ubuntu0.22.04.2
8:6.9.11.60+dfsg-1.3ubuntu0.22.04.2+esm1
8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "imagemagick"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "imagemagick-6-common"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "imagemagick-6-doc"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "imagemagick-6.q16"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "imagemagick-6.q16-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "imagemagick-6.q16hdri"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "imagemagick-6.q16hdri-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "imagemagick-common"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "imagemagick-doc"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libimage-magick-perl"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libimage-magick-q16-perl"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libimage-magick-q16-perl-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libimage-magick-q16hdri-perl"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libimage-magick-q16hdri-perl-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagick++-6-headers"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagick++-6.q16-8"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagick++-6.q16-8-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagick++-6.q16-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagick++-6.q16hdri-8"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagick++-6.q16hdri-8-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagick++-6.q16hdri-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagick++-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickcore-6-arch-config"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickcore-6-headers"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickcore-6.q16-6"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickcore-6.q16-6-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickcore-6.q16-6-extra"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickcore-6.q16-6-extra-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickcore-6.q16-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickcore-6.q16hdri-6"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickcore-6.q16hdri-6-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickcore-6.q16hdri-6-extra"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickcore-6.q16hdri-6-extra-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickcore-6.q16hdri-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickcore-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickwand-6-headers"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickwand-6.q16-6"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickwand-6.q16-6-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickwand-6.q16-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickwand-6.q16hdri-6"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickwand-6.q16hdri-6-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickwand-6.q16hdri-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "libmagickwand-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm1",
            "binary_name": "perlmagick"
        }
    ]
}