USN-5974-1

See a problem?
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@1.3.18-1ubuntu3.1+esm8?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": [
        {
            "libgraphicsmagick3-dbgsym": "1.3.18-1ubuntu3.1+esm8",
            "graphicsmagick": "1.3.18-1ubuntu3.1+esm8",
            "libgraphicsmagick++3": "1.3.18-1ubuntu3.1+esm8",
            "libgraphicsmagick++1-dev": "1.3.18-1ubuntu3.1+esm8",
            "libgraphicsmagick++3-dbgsym": "1.3.18-1ubuntu3.1+esm8",
            "graphicsmagick-dbg": "1.3.18-1ubuntu3.1+esm8",
            "graphicsmagick-libmagick-dev-compat": "1.3.18-1ubuntu3.1+esm8",
            "libgraphicsmagick1-dev": "1.3.18-1ubuntu3.1+esm8",
            "graphicsmagick-dbgsym": "1.3.18-1ubuntu3.1+esm8",
            "libgraphicsmagick1-dev-dbgsym": "1.3.18-1ubuntu3.1+esm8",
            "graphicsmagick-imagemagick-compat": "1.3.18-1ubuntu3.1+esm8",
            "libgraphics-magick-perl": "1.3.18-1ubuntu3.1+esm8",
            "libgraphics-magick-perl-dbgsym": "1.3.18-1ubuntu3.1+esm8",
            "libgraphicsmagick3": "1.3.18-1ubuntu3.1+esm8",
            "libgraphicsmagick++1-dev-dbgsym": "1.3.18-1ubuntu3.1+esm8"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / graphicsmagick

Package

Name
graphicsmagick
Purl
pkg:deb/ubuntu/graphicsmagick@1.3.23-1ubuntu0.6+esm2?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": [
        {
            "graphicsmagick": "1.3.23-1ubuntu0.6+esm2",
            "graphicsmagick-dbg": "1.3.23-1ubuntu0.6+esm2",
            "libgraphicsmagick++1-dev": "1.3.23-1ubuntu0.6+esm2",
            "graphicsmagick-libmagick-dev-compat": "1.3.23-1ubuntu0.6+esm2",
            "libgraphicsmagick1-dev": "1.3.23-1ubuntu0.6+esm2",
            "graphicsmagick-dbgsym": "1.3.23-1ubuntu0.6+esm2",
            "libgraphicsmagick1-dev-dbgsym": "1.3.23-1ubuntu0.6+esm2",
            "graphicsmagick-imagemagick-compat": "1.3.23-1ubuntu0.6+esm2",
            "libgraphicsmagick-q16-3-dbgsym": "1.3.23-1ubuntu0.6+esm2",
            "libgraphics-magick-perl": "1.3.23-1ubuntu0.6+esm2",
            "libgraphics-magick-perl-dbgsym": "1.3.23-1ubuntu0.6+esm2",
            "libgraphicsmagick++-q16-12": "1.3.23-1ubuntu0.6+esm2",
            "libgraphicsmagick++-q16-12-dbgsym": "1.3.23-1ubuntu0.6+esm2",
            "libgraphicsmagick++1-dev-dbgsym": "1.3.23-1ubuntu0.6+esm2",
            "libgraphicsmagick-q16-3": "1.3.23-1ubuntu0.6+esm2"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / graphicsmagick

Package

Name
graphicsmagick
Purl
pkg:deb/ubuntu/graphicsmagick@1.3.28-2ubuntu0.2+esm1?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": [
        {
            "graphicsmagick-imagemagick-compat": "1.3.28-2ubuntu0.2+esm1",
            "graphicsmagick": "1.3.28-2ubuntu0.2+esm1",
            "libgraphics-magick-perl": "1.3.28-2ubuntu0.2+esm1",
            "graphicsmagick-dbg": "1.3.28-2ubuntu0.2+esm1",
            "libgraphicsmagick++1-dev": "1.3.28-2ubuntu0.2+esm1",
            "libgraphicsmagick++-q16-12": "1.3.28-2ubuntu0.2+esm1",
            "graphicsmagick-libmagick-dev-compat": "1.3.28-2ubuntu0.2+esm1",
            "libgraphicsmagick1-dev": "1.3.28-2ubuntu0.2+esm1",
            "libgraphicsmagick-q16-3": "1.3.28-2ubuntu0.2+esm1"
        }
    ]
}

Ubuntu:20.04:LTS / graphicsmagick

Package

Name
graphicsmagick
Purl
pkg:deb/ubuntu/graphicsmagick@1.4+really1.3.35-1ubuntu0.1?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": [
        {
            "graphicsmagick-imagemagick-compat": "1.4+really1.3.35-1ubuntu0.1",
            "graphicsmagick": "1.4+really1.3.35-1ubuntu0.1",
            "libgraphics-magick-perl": "1.4+really1.3.35-1ubuntu0.1",
            "graphicsmagick-dbg": "1.4+really1.3.35-1ubuntu0.1",
            "libgraphicsmagick++1-dev": "1.4+really1.3.35-1ubuntu0.1",
            "libgraphicsmagick++-q16-12": "1.4+really1.3.35-1ubuntu0.1",
            "graphicsmagick-libmagick-dev-compat": "1.4+really1.3.35-1ubuntu0.1",
            "libgraphicsmagick1-dev": "1.4+really1.3.35-1ubuntu0.1",
            "libgraphicsmagick-q16-3": "1.4+really1.3.35-1ubuntu0.1"
        }
    ]
}