Vulnerability Name:

CVE-2021-3962 (CCN-213990)

Assigned:2021-11-19
Published:2021-11-19
Updated:2021-11-28
Summary:A flaw was found in ImageMagick where it did not properly sanitize certain input before using it to invoke convert processes. This flaw allows an attacker to create a specially crafted image that leads to a use-after-free vulnerability when processed by ImageMagick. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
CVSS v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
6.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-416
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2021-3962

Source: CCN
Type: Red Hat Bugzilla - Bug 2023196
(CVE-2021-3962) - CVE-2021-3962 ImageMagick: heap-use-after-free in at dcm.c RelinquishDCMMemory

Source: MISC
Type: Issue Tracking, Patch, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2023196

Source: XF
Type: UNKNOWN
imagemagick-cve20213962-code-exec(213990)

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/ImageMagick/ImageMagick/commit/82775af03bbb10a0a1d0e15c0156c75673b4525e

Source: CCN
Type: ImageMagick GIT Repository
heap-use-after-free in magick at dcm.c RelinquishDCMMemory #4446

Source: MISC
Type: Third Party Advisory
https://github.com/ImageMagick/ImageMagick/issues/4446

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2021-3962

Vulnerable Configuration:Configuration 1:
  • cpe:/a:imagemagick:imagemagick:7.1.0-14:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:imagemagick:imagemagick:7.1.0-14:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    imagemagick imagemagick 7.1.0-14
    imagemagick imagemagick 7.1.0-14