CVE-2021-39212

Publication date 13 September 2021

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

3.6 · Low

Score breakdown

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}" />.

Read the notes from the security team

Status

Package Ubuntu Release Status
imagemagick 24.10 oracular
Fixed 8:6.9.11.60+dfsg-1.3ubuntu1
24.04 LTS noble
Fixed 8:6.9.11.60+dfsg-1.3ubuntu1
23.10 mantic
Fixed 8:6.9.11.60+dfsg-1.3ubuntu1
23.04 lunar
Fixed 8:6.9.11.60+dfsg-1.3ubuntu1
22.10 kinetic
Fixed 8:6.9.11.60+dfsg-1.3ubuntu0.22.10.1
22.04 LTS jammy
21.10 impish Ignored end of life
21.04 hirsute Ignored end of life
20.04 LTS focal
Fixed 8:6.9.10.23+dfsg-2.1ubuntu11.9
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


rayveldkamp

imagemagick is in universe from focal onwards


mdeslaur

packages in Ubuntu use the coder policy to exclude postscript files, not the module policy

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
imagemagick

Severity score breakdown

Parameter Value
Base score 3.6 · Low
Attack vector Local
Attack complexity High
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality Low
Integrity impact Low
Availability impact None
Vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

References

Related Ubuntu Security Notices (USN)

    • USN-5736-1
    • ImageMagick vulnerabilities
    • 24 November 2022
    • USN-5736-2
    • ImageMagick vulnerabilities
    • 24 November 2022
    • USN-6200-1
    • ImageMagick vulnerabilities
    • 4 July 2023

Other references