An update for ImageMagick is now available for openEuler-22.03-LTS Security Advisory openeuler-security@openeuler.org openEuler security committee openEuler-SA-2022-2091 Final 1.0 1.0 2022-11-11 Initial 2022-11-11 2022-11-11 openEuler SA Tool V1.0 2022-11-11 ImageMagick security update An update for ImageMagick is now available for openEuler-22.03-LTS. Use ImageMagick to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves. Security Fix(es): 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}" />.(CVE-2021-39212) 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.(CVE-2021-3596) An update for ImageMagick is now available for openEuler-22.03-LTS. openEuler Security has rated this update as having a security impact of medium. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section. Medium ImageMagick https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2091 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-39212 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-3596 https://nvd.nist.gov/vuln/detail/CVE-2021-39212 https://nvd.nist.gov/vuln/detail/CVE-2021-3596 openEuler-22.03-LTS ImageMagick-debuginfo-7.1.0.28-4.oe2203.aarch64.rpm ImageMagick-7.1.0.28-4.oe2203.aarch64.rpm ImageMagick-devel-7.1.0.28-4.oe2203.aarch64.rpm ImageMagick-perl-7.1.0.28-4.oe2203.aarch64.rpm ImageMagick-debugsource-7.1.0.28-4.oe2203.aarch64.rpm ImageMagick-c++-7.1.0.28-4.oe2203.aarch64.rpm ImageMagick-c++-devel-7.1.0.28-4.oe2203.aarch64.rpm ImageMagick-help-7.1.0.28-4.oe2203.aarch64.rpm ImageMagick-7.1.0.28-4.oe2203.src.rpm ImageMagick-debuginfo-7.1.0.28-4.oe2203.x86_64.rpm ImageMagick-7.1.0.28-4.oe2203.x86_64.rpm ImageMagick-debugsource-7.1.0.28-4.oe2203.x86_64.rpm ImageMagick-help-7.1.0.28-4.oe2203.x86_64.rpm ImageMagick-c++-devel-7.1.0.28-4.oe2203.x86_64.rpm ImageMagick-perl-7.1.0.28-4.oe2203.x86_64.rpm ImageMagick-devel-7.1.0.28-4.oe2203.x86_64.rpm ImageMagick-c++-7.1.0.28-4.oe2203.x86_64.rpm 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} />. 2022-11-11 CVE-2021-39212 openEuler-22.03-LTS Medium 4.4 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N ImageMagick security update 2022-11-11 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2091 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. 2022-11-11 CVE-2021-3596 openEuler-22.03-LTS Medium 6.5 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H ImageMagick security update 2022-11-11 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2091