Vulnerability Details : CVE-2020-13904
FFmpeg 2.8 and 4.2.3 has a use-after-free via a crafted EXTINF duration in an m3u8 file because parse_playlist in libavformat/hls.c frees a pointer, and later that pointer is accessed in av_probe_input_format3 in libavformat/format.c.
Vulnerability category: Memory Corruption
Products affected by CVE-2020-13904
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:a:ffmpeg:ffmpeg:2.8:*:*:*:*:*:*:*
- cpe:2.3:a:ffmpeg:ffmpeg:4.2.3:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-13904
0.16%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 52 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-13904
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2020-13904
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-13904
-
https://security.gentoo.org/glsa/202007-58
FFmpeg: Multiple vulnerabilities (GLSA 202007-58) — Gentoo securityThird Party Advisory
-
https://trac.ffmpeg.org/ticket/8673
#8673 (UAF while parsing m3u8 files ( in av_probe_input_format3)) – FFmpegExploit;Issue Tracking;Vendor Advisory
-
https://lists.debian.org/debian-lts-announce/2020/07/msg00022.html
[SECURITY] [DLA 2291-1] ffmpeg security updateMailing List;Third Party Advisory
-
https://www.debian.org/security/2020/dsa-4722
Debian -- Security Information -- DSA-4722-1 ffmpegThird Party Advisory
-
https://usn.ubuntu.com/4431-1/
USN-4431-1: FFmpeg vulnerabilities | Ubuntu security notices | UbuntuThird Party Advisory
-
https://github.com/FFmpeg/FFmpeg/commit/6959358683c7533f586c07a766acc5fe9544d8b2
avformat/hls: check segment duration value of EXTINF · FFmpeg/FFmpeg@6959358 · GitHubPatch;Third Party Advisory
-
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20200529033905.41926-1-lq@chinaffmpeg.org/
[FFmpeg-devel] avformat/hls: check segment duration value of EXTINF - PatchworkPatch;Vendor Advisory
Jump to