USN-6200-2

Source
https://ubuntu.com/security/notices/USN-6200-2
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6200-2.json
JSON Data
https://api.osv.dev/v1/vulns/USN-6200-2
Related
Published
2024-07-25T23:55:00.691965Z
Modified
2024-07-25T23:55:00.691965Z
Summary
imagemagick vulnerabilities
Details

USN-6200-1 fixed vulnerabilities in ImageMagick. Unfortunately these fixes were incomplete for Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. This update fixes the problem.

Original advisory details:

It was discovered that ImageMagick incorrectly handled the "-authenticate" option for password-protected PDF files. An attacker could possibly use this issue to inject additional shell commands and perform arbitrary code execution. This issue only affected Ubuntu 20.04 LTS. (CVE-2020-29599)

It was discovered that ImageMagick incorrectly handled certain values when processing PDF files. If a user or automated system using ImageMagick were tricked into opening a specially crafted PDF file, an attacker could exploit this to cause a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20224)

Zhang Xiaohui discovered that ImageMagick incorrectly handled certain values when processing image data. If a user or automated system using ImageMagick were tricked into opening a specially crafted image, an attacker could exploit this to cause a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20241, CVE-2021-20243)

It was discovered that ImageMagick incorrectly handled certain values when processing visual effects based image files. By tricking a user into opening a specially crafted image file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20244, CVE-2021-20309)

It was discovered that ImageMagick incorrectly handled certain values when performing resampling operations. By tricking a user into opening a specially crafted image file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20246)

It was discovered that ImageMagick incorrectly handled certain values when processing thumbnail image data. By tricking a user into opening a specially crafted image file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20312)

It was discovered that ImageMagick incorrectly handled memory cleanup when performing certain cryptographic operations. Under certain conditions sensitive cryptographic information could be disclosed. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-20313)

It was discovered that ImageMagick did not use the correct rights when specifically excluded by a module policy. An attacker could use this issue to read and write certain restricted files. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-39212)

It was discovered that ImageMagick incorrectly handled memory under certain circumstances. If a user were tricked into opening a specially crafted image file, an attacker could possibly exploit this issue to cause a denial of service or other unspecified impact. This issue only affected Ubuntu 20.04 LTS. (CVE-2022-28463, CVE-2022-32545, CVE-2022-32546, CVE-2022-32547)

It was discovered that ImageMagick incorrectly handled memory under certain circumstances. If a user were tricked into opening a specially crafted image file, an attacker could possibly exploit this issue to cause a denial of service or other unspecified impact. This issue only affected Ubuntu 22.04 LTS, Ubuntu 22.10, and Ubuntu 23.04. (CVE-2021-3610, CVE-2023-1906, CVE-2023-3428)

It was discovered that ImageMagick incorrectly handled certain values when processing specially crafted SVG files. By tricking a user into opening a specially crafted SVG file, an attacker could crash the application causing a denial of service. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 22.10, and Ubuntu 23.04. (CVE-2023-1289)

It was discovered that ImageMagick incorrectly handled memory under certain circumstances. If a user were tricked into opening a specially crafted tiff file, an attacker could possibly exploit this issue to cause a denial of service or other unspecified impact. This issue only affected Ubuntu 22.04 LTS, Ubuntu 22.10, and Ubuntu 23.04. (CVE-2023-3195)

It was discovered that ImageMagick incorrectly handled memory under certain circumstances. If a user were tricked into opening a specially crafted image file, an attacker could possibly exploit this issue to cause a denial of service or other unspecified impact. (CVE-2023-34151)

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.10

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
8:6.9.10.23+dfsg-2.1ubuntu11.9

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "imagemagick"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "imagemagick-6-common"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "imagemagick-6-doc"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "imagemagick-6.q16"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "imagemagick-6.q16-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "imagemagick-6.q16hdri"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "imagemagick-6.q16hdri-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "imagemagick-common"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "imagemagick-doc"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libimage-magick-perl"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libimage-magick-q16-perl"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libimage-magick-q16-perl-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libimage-magick-q16hdri-perl"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libimage-magick-q16hdri-perl-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagick++-6-headers"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagick++-6.q16-8"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagick++-6.q16-8-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagick++-6.q16-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagick++-6.q16hdri-8"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagick++-6.q16hdri-8-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagick++-6.q16hdri-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagick++-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickcore-6-arch-config"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickcore-6-headers"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickcore-6.q16-6"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickcore-6.q16-6-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickcore-6.q16-6-extra"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickcore-6.q16-6-extra-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickcore-6.q16-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickcore-6.q16hdri-6"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickcore-6.q16hdri-6-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickcore-6.q16hdri-6-extra"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickcore-6.q16hdri-6-extra-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickcore-6.q16hdri-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickcore-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickwand-6-headers"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickwand-6.q16-6"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickwand-6.q16-6-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickwand-6.q16-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickwand-6.q16hdri-6"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickwand-6.q16hdri-6-dbgsym"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickwand-6.q16hdri-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "binary_name": "libmagickwand-dev"
        },
        {
            "binary_version": "8:6.9.10.23+dfsg-2.1ubuntu11.10",
            "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
Fixed
8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5

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

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "imagemagick"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "imagemagick-6-common"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "imagemagick-6-doc"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "imagemagick-6.q16"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "imagemagick-6.q16-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "imagemagick-6.q16hdri"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "imagemagick-6.q16hdri-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "imagemagick-common"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "imagemagick-doc"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libimage-magick-perl"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libimage-magick-q16-perl"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libimage-magick-q16-perl-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libimage-magick-q16hdri-perl"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libimage-magick-q16hdri-perl-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagick++-6-headers"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagick++-6.q16-8"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagick++-6.q16-8-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagick++-6.q16-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagick++-6.q16hdri-8"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagick++-6.q16hdri-8-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagick++-6.q16hdri-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagick++-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickcore-6-arch-config"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickcore-6-headers"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickcore-6.q16-6"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickcore-6.q16-6-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickcore-6.q16-6-extra"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickcore-6.q16-6-extra-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickcore-6.q16-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickcore-6.q16hdri-6"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickcore-6.q16hdri-6-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickcore-6.q16hdri-6-extra"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickcore-6.q16hdri-6-extra-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickcore-6.q16hdri-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickcore-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickwand-6-headers"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickwand-6.q16-6"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickwand-6.q16-6-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickwand-6.q16-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickwand-6.q16hdri-6"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickwand-6.q16hdri-6-dbgsym"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickwand-6.q16hdri-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "libmagickwand-dev"
        },
        {
            "binary_version": "8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5",
            "binary_name": "perlmagick"
        }
    ]
}