Heap-based buffer overflow in ffmpeg (Alpine package)



Published: 2020-06-16
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-12284
CWE-ID CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
ffmpeg (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Heap-based buffer overflow

EUVDB-ID: #VU27385

Risk: High

CVSSv3.1: 8.5 [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]

CVE-ID: CVE-2020-12284

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in "cbs_jpeg_split_fragment" in "libavcodec/cbs_jpeg.c" file during "JPEG_MARKER_SOS" handling. A remote attacker can 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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

ffmpeg (Alpine package): 4.1.4-r0 - 4.2.1-r3

CPE2.3 External links

http://git.alpinelinux.org/aports/commit/?id=f3d13d27653687516adefe66adbfd239dee57f2e
http://git.alpinelinux.org/aports/commit/?id=477aae6b2f690ba8a89cbd18587c96bb0ff40548
http://git.alpinelinux.org/aports/commit/?id=a06541424702380d7a111b112c981b1e09910bae
http://git.alpinelinux.org/aports/commit/?id=2a2f5de5a32743832ff7162605d6dfafe6fbd022


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###