SB2019071801 - Multiple vulnerabilities in FFmpeg
Published: July 18, 2019 Updated: July 12, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 secuirty vulnerabilities.
1) Division by zero (CVE-ID: CVE-2019-13390)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.The vulnerability exists due to a divide-by-zero condition in the "adx_write_trailer" function in the "libavformat/rawenc.c" file. A remote attacker can trick the victim to open a specially crafted file and crash the affected application.
2) Heap-based buffer overflow (CVE-ID: CVE-2019-13312)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error when processing media files in block_cmp() function in libavcodec/zmbvenc.c. A remote attacker can create a specially crafted media file, trick the victim into opening it, trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
3) Buffer overflow (CVE-ID: CVE-2019-12730)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in aa_read_header() function in libavformat/aadec.c. A remote attacker can create a specially crafted media file, trick the victim into opening it, trigger memory corruption and crash the affected application.
Remediation
Install update from vendor's website.
References
- https://trac.ffmpeg.org/ticket/7979
- https://trac.ffmpeg.org/ticket/7981
- https://trac.ffmpeg.org/ticket/7982
- https://trac.ffmpeg.org/ticket/7983
- https://trac.ffmpeg.org/ticket/7985
- https://trac.ffmpeg.org/ticket/7980
- https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/9b4004c054964a49c7ba44583f4cee22486dd8f2
- https://git.ffmpeg.org/gitweb/ffmpeg.git/shortlog/n4.1.4
- https://github.com/FFmpeg/FFmpeg/commit/ed188f6dcdf0935c939ed813cf8745d50742014b
- https://github.com/FFmpeg/FFmpeg/compare/a97ea53...ba11e40