9.8
CRITICAL
CVE-2020-12284
"FFmpeg CBS JPEG Heap Buffer Overflow"
Description

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.

INFO

Published Date :

April 28, 2020, 6:15 a.m.

Last Modified :

April 29, 2022, 1:25 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2020-12284 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Ffmpeg ffmpeg
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2020-12284.

URL Resource
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19734 Exploit Issue Tracking Vendor Advisory
https://github.com/FFmpeg/FFmpeg/commit/1812352d767ccf5431aa440123e2e260a4db2726 Patch Third Party Advisory
https://github.com/FFmpeg/FFmpeg/commit/a3a3730b5456ca00587455004d40c047f7b20a99 Patch Third Party Advisory
https://security.gentoo.org/glsa/202007-58 Third Party Advisory
https://usn.ubuntu.com/4431-1/ Third Party Advisory
https://www.debian.org/security/2020/dsa-4722 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-12284 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-12284 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Apr. 29, 2022

    Action Type Old Value New Value
    Changed Reference Type https://github.com/FFmpeg/FFmpeg/commit/a3a3730b5456ca00587455004d40c047f7b20a99 No Types Assigned https://github.com/FFmpeg/FFmpeg/commit/a3a3730b5456ca00587455004d40c047f7b20a99 Patch, Third Party Advisory
    Changed Reference Type https://security.gentoo.org/glsa/202007-58 No Types Assigned https://security.gentoo.org/glsa/202007-58 Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/4431-1/ No Types Assigned https://usn.ubuntu.com/4431-1/ Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2020/dsa-4722 No Types Assigned https://www.debian.org/security/2020/dsa-4722 Third Party Advisory
    Removed CWE NIST CWE-20
    Changed CPE Configuration OR *cpe:2.3:a:ffmpeg:ffmpeg:4.2.2:*:*:*:*:*:*:* OR *cpe:2.3:a:ffmpeg:ffmpeg:4.1:*:*:*:*:*:*:* *cpe:2.3:a:ffmpeg:ffmpeg:4.2.2:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • CWE Remap by [email protected]

    Jul. 21, 2021

    Action Type Old Value New Value
    Changed CWE CWE-787 CWE-20 CWE-787
  • CVE Modified by [email protected]

    Jan. 04, 2021

    Action Type Old Value New Value
    Changed Description cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.2.2 has a heap-based buffer overflow during JPEG_MARKER_SOS handling because of a missing length check. 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.
    Added Reference https://github.com/FFmpeg/FFmpeg/commit/a3a3730b5456ca00587455004d40c047f7b20a99 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 28, 2020

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202007-58 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 27, 2020

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/4431-1/ [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 09, 2020

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2020/dsa-4722 [No Types Assigned]
  • Initial Analysis by [email protected]

    May. 04, 2020

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19734 No Types Assigned https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19734 Exploit, Issue Tracking, Vendor Advisory
    Changed Reference Type https://github.com/FFmpeg/FFmpeg/commit/1812352d767ccf5431aa440123e2e260a4db2726 No Types Assigned https://github.com/FFmpeg/FFmpeg/commit/1812352d767ccf5431aa440123e2e260a4db2726 Patch, Third Party Advisory
    Added CWE NIST CWE-787
    Added CPE Configuration OR *cpe:2.3:a:ffmpeg:ffmpeg:4.2.2:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-12284 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2020-12284 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

4.92 }} -0.06%

score

0.92929

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability