Vulnerability Name:

CVE-2020-12284 (CCN-180997)

Assigned:2020-03-07
Published:2020-03-07
Updated:2022-04-29
Summary:cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MARKER_SOS handling because of a missing length check.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
3.3 Low (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L)
2.9 Low (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/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): None
Integrity (I): None
Availibility (A): Low
CVSS v2 Severity:10.0 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
1.7 Low (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
Vulnerability Type:CWE-787
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2020-12284

Source: MISC
Type: Exploit, Issue Tracking, Vendor Advisory
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19734

Source: XF
Type: UNKNOWN
ffmpeg-cve202012284-dos(180997)

Source: CCN
Type: FFmpeg GIT Repository
avcodec/cbs_jpeg: Check length for SOS

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/FFmpeg/FFmpeg/commit/1812352d767ccf5431aa440123e2e260a4db2726

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/FFmpeg/FFmpeg/commit/a3a3730b5456ca00587455004d40c047f7b20a99

Source: GENTOO
Type: Third Party Advisory
GLSA-202007-58

Source: UBUNTU
Type: Third Party Advisory
USN-4431-1

Source: DEBIAN
Type: Third Party Advisory
DSA-4722

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2020-12284

Vulnerable Configuration:Configuration 1:
  • cpe:/a:ffmpeg:ffmpeg:4.1:*:*:*:*:*:*:*
  • OR cpe:/a:ffmpeg:ffmpeg:4.2.2:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*

  • Configuration 3:
  • cpe:/o:debian:debian_linux:10.0:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:ffmpeg:ffmpeg:4.2.2:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    ffmpeg ffmpeg 4.1
    ffmpeg ffmpeg 4.2.2
    canonical ubuntu linux 16.04
    canonical ubuntu linux 18.04
    canonical ubuntu linux 20.04
    debian debian linux 10.0
    ffmpeg ffmpeg 4.2.2