UBUNTU-CVE-2021-3596

Source
https://ubuntu.com/security/CVE-2021-3596
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3596.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-3596
Related
Published
2022-02-24T19:15:00Z
Modified
2022-02-24T19:15:00Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A NULL pointer dereference flaw was found in ImageMagick in versions prior to 7.0.10-31 in ReadSVGImage() in coders/svg.c. This issue is due to not checking the return value from libxml2's xmlCreatePushParserCtxt() and uses the value directly, which leads to a crash and segmentation fault.

References

Affected packages

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.3build1

Affected versions

8:6.*

8:6.9.11.60+dfsg-1ubuntu1
8:6.9.11.60+dfsg-1.3

Ecosystem specific

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