USN-5974-1

Source
https://ubuntu.com/security/notices/USN-5974-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5974-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5974-1
Related
Published
2023-03-27T16:40:44.316989Z
Modified
2023-03-27T16:40:44.316989Z
Summary
graphicsmagick vulnerabilities
Details

It was discovered that GraphicsMagick was not properly performing bounds checks when processing TGA image files, which could lead to a heap buffer overflow. If a user or automated system were tricked into processing a specially crafted TGA image file, an attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2018-20184)

It was discovered that GraphicsMagick was not properly validating bits per pixel data when processing DIB image files. If a user or automated system were tricked into processing a specially crafted DIB image file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2018-20189)

It was discovered that GraphicsMagick was not properly processing bit-field mask values in BMP image files, which could result in the execution of an infinite loop. If a user or automated system were tricked into processing a specially crafted BMP image file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2018-5685)

It was discovered that GraphicsMagick was not properly validating data used in arithmetic operations when processing MNG image files, which could result in a divide-by-zero error. If a user or automated system were tricked into processing a specially crafted MNG image file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2018-9018)

It was discovered that GraphicsMagick was not properly performing bounds checks when processing MIFF image files, which could lead to a heap buffer overflow. If a user or automated system were tricked into processing a specially crafted MIFF image file, an attacker could possibly use this issue to cause a denial of service or expose sensitive information. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2019-11006)

It was discovered that GraphicsMagick did not properly magnify certain MNG image files, which could lead to a heap buffer overflow. If a user or automated system were tricked into processing a specially crafted MNG image file, an attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 20.04 LTS. (CVE-2020-12672)

It was discovered that GraphicsMagick was not properly performing bounds checks when parsing certain MIFF image files, which could lead to a heap buffer overflow. If a user or automated system were tricked into processing a specially crafted MIFF image file, an attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-1270)

References

Affected packages

Ubuntu:Pro:14.04:LTS / graphicsmagick

Package

Name
graphicsmagick
Purl
pkg:deb/ubuntu/graphicsmagick?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.18-1ubuntu3.1+esm8

Affected versions

1.*

1.3.16-1.1ubuntu2
1.3.16-1.1ubuntu3
1.3.18-1ubuntu3
1.3.18-1ubuntu3.1
1.3.18-1ubuntu3.1+esm1
1.3.18-1ubuntu3.1+esm2
1.3.18-1ubuntu3.1+esm3
1.3.18-1ubuntu3.1+esm4
1.3.18-1ubuntu3.1+esm5
1.3.18-1ubuntu3.1+esm6
1.3.18-1ubuntu3.1+esm7

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.3.18-1ubuntu3.1+esm8",
            "binary_name": "graphicsmagick"
        },
        {
            "binary_version": "1.3.18-1ubuntu3.1+esm8",
            "binary_name": "graphicsmagick-dbg"
        },
        {
            "binary_version": "1.3.18-1ubuntu3.1+esm8",
            "binary_name": "graphicsmagick-dbgsym"
        },
        {
            "binary_version": "1.3.18-1ubuntu3.1+esm8",
            "binary_name": "graphicsmagick-imagemagick-compat"
        },
        {
            "binary_version": "1.3.18-1ubuntu3.1+esm8",
            "binary_name": "graphicsmagick-libmagick-dev-compat"
        },
        {
            "binary_version": "1.3.18-1ubuntu3.1+esm8",
            "binary_name": "libgraphics-magick-perl"
        },
        {
            "binary_version": "1.3.18-1ubuntu3.1+esm8",
            "binary_name": "libgraphics-magick-perl-dbgsym"
        },
        {
            "binary_version": "1.3.18-1ubuntu3.1+esm8",
            "binary_name": "libgraphicsmagick++1-dev"
        },
        {
            "binary_version": "1.3.18-1ubuntu3.1+esm8",
            "binary_name": "libgraphicsmagick++1-dev-dbgsym"
        },
        {
            "binary_version": "1.3.18-1ubuntu3.1+esm8",
            "binary_name": "libgraphicsmagick++3"
        },
        {
            "binary_version": "1.3.18-1ubuntu3.1+esm8",
            "binary_name": "libgraphicsmagick++3-dbgsym"
        },
        {
            "binary_version": "1.3.18-1ubuntu3.1+esm8",
            "binary_name": "libgraphicsmagick1-dev"
        },
        {
            "binary_version": "1.3.18-1ubuntu3.1+esm8",
            "binary_name": "libgraphicsmagick1-dev-dbgsym"
        },
        {
            "binary_version": "1.3.18-1ubuntu3.1+esm8",
            "binary_name": "libgraphicsmagick3"
        },
        {
            "binary_version": "1.3.18-1ubuntu3.1+esm8",
            "binary_name": "libgraphicsmagick3-dbgsym"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / graphicsmagick

Package

Name
graphicsmagick
Purl
pkg:deb/ubuntu/graphicsmagick?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.23-1ubuntu0.6+esm2

Affected versions

1.*

1.3.21-3
1.3.23-1
1.3.23-1build1
1.3.23-1ubuntu0.1
1.3.23-1ubuntu0.1+esm1
1.3.23-1ubuntu0.2
1.3.23-1ubuntu0.3
1.3.23-1ubuntu0.4
1.3.23-1ubuntu0.5
1.3.23-1ubuntu0.6
1.3.23-1ubuntu0.6+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.3.23-1ubuntu0.6+esm2",
            "binary_name": "graphicsmagick"
        },
        {
            "binary_version": "1.3.23-1ubuntu0.6+esm2",
            "binary_name": "graphicsmagick-dbg"
        },
        {
            "binary_version": "1.3.23-1ubuntu0.6+esm2",
            "binary_name": "graphicsmagick-dbgsym"
        },
        {
            "binary_version": "1.3.23-1ubuntu0.6+esm2",
            "binary_name": "graphicsmagick-imagemagick-compat"
        },
        {
            "binary_version": "1.3.23-1ubuntu0.6+esm2",
            "binary_name": "graphicsmagick-libmagick-dev-compat"
        },
        {
            "binary_version": "1.3.23-1ubuntu0.6+esm2",
            "binary_name": "libgraphics-magick-perl"
        },
        {
            "binary_version": "1.3.23-1ubuntu0.6+esm2",
            "binary_name": "libgraphics-magick-perl-dbgsym"
        },
        {
            "binary_version": "1.3.23-1ubuntu0.6+esm2",
            "binary_name": "libgraphicsmagick++-q16-12"
        },
        {
            "binary_version": "1.3.23-1ubuntu0.6+esm2",
            "binary_name": "libgraphicsmagick++-q16-12-dbgsym"
        },
        {
            "binary_version": "1.3.23-1ubuntu0.6+esm2",
            "binary_name": "libgraphicsmagick++1-dev"
        },
        {
            "binary_version": "1.3.23-1ubuntu0.6+esm2",
            "binary_name": "libgraphicsmagick++1-dev-dbgsym"
        },
        {
            "binary_version": "1.3.23-1ubuntu0.6+esm2",
            "binary_name": "libgraphicsmagick-q16-3"
        },
        {
            "binary_version": "1.3.23-1ubuntu0.6+esm2",
            "binary_name": "libgraphicsmagick-q16-3-dbgsym"
        },
        {
            "binary_version": "1.3.23-1ubuntu0.6+esm2",
            "binary_name": "libgraphicsmagick1-dev"
        },
        {
            "binary_version": "1.3.23-1ubuntu0.6+esm2",
            "binary_name": "libgraphicsmagick1-dev-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / graphicsmagick

Package

Name
graphicsmagick
Purl
pkg:deb/ubuntu/graphicsmagick?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.28-2ubuntu0.2+esm1

Affected versions

1.*

1.3.26-15
1.3.26-16
1.3.26-19
1.3.27-1
1.3.27-2
1.3.27-3
1.3.28-1
1.3.28-2
1.3.28-2ubuntu0.1
1.3.28-2ubuntu0.1+esm1
1.3.28-2ubuntu0.2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.3.28-2ubuntu0.2+esm1",
            "binary_name": "graphicsmagick"
        },
        {
            "binary_version": "1.3.28-2ubuntu0.2+esm1",
            "binary_name": "graphicsmagick-dbg"
        },
        {
            "binary_version": "1.3.28-2ubuntu0.2+esm1",
            "binary_name": "graphicsmagick-imagemagick-compat"
        },
        {
            "binary_version": "1.3.28-2ubuntu0.2+esm1",
            "binary_name": "graphicsmagick-libmagick-dev-compat"
        },
        {
            "binary_version": "1.3.28-2ubuntu0.2+esm1",
            "binary_name": "libgraphics-magick-perl"
        },
        {
            "binary_version": "1.3.28-2ubuntu0.2+esm1",
            "binary_name": "libgraphicsmagick++-q16-12"
        },
        {
            "binary_version": "1.3.28-2ubuntu0.2+esm1",
            "binary_name": "libgraphicsmagick++1-dev"
        },
        {
            "binary_version": "1.3.28-2ubuntu0.2+esm1",
            "binary_name": "libgraphicsmagick-q16-3"
        },
        {
            "binary_version": "1.3.28-2ubuntu0.2+esm1",
            "binary_name": "libgraphicsmagick1-dev"
        }
    ]
}

Ubuntu:20.04:LTS / graphicsmagick

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4+really1.3.35-1ubuntu0.1

Affected versions

1.*

1.4+really1.3.33+hg16115-1
1.4+really1.3.33+hg16115-1build1
1.4+really1.3.33+hg16117-1
1.4+really1.3.34-1
1.4+really1.3.34-2
1.4+really1.3.34+hg16181-1
1.4+really1.3.35-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.4+really1.3.35-1ubuntu0.1",
            "binary_name": "graphicsmagick"
        },
        {
            "binary_version": "1.4+really1.3.35-1ubuntu0.1",
            "binary_name": "graphicsmagick-dbg"
        },
        {
            "binary_version": "1.4+really1.3.35-1ubuntu0.1",
            "binary_name": "graphicsmagick-imagemagick-compat"
        },
        {
            "binary_version": "1.4+really1.3.35-1ubuntu0.1",
            "binary_name": "graphicsmagick-libmagick-dev-compat"
        },
        {
            "binary_version": "1.4+really1.3.35-1ubuntu0.1",
            "binary_name": "libgraphics-magick-perl"
        },
        {
            "binary_version": "1.4+really1.3.35-1ubuntu0.1",
            "binary_name": "libgraphicsmagick++-q16-12"
        },
        {
            "binary_version": "1.4+really1.3.35-1ubuntu0.1",
            "binary_name": "libgraphicsmagick++1-dev"
        },
        {
            "binary_version": "1.4+really1.3.35-1ubuntu0.1",
            "binary_name": "libgraphicsmagick-q16-3"
        },
        {
            "binary_version": "1.4+really1.3.35-1ubuntu0.1",
            "binary_name": "libgraphicsmagick1-dev"
        }
    ]
}