SB2018112703 - Gentoo update for Libav



SB2018112703 - Gentoo update for Libav

Published: November 27, 2018

Security Bulletin ID SB2018112703
CSH Severity
High
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 50% Low 50%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 vulnerabilities.


1) Out-of-bounds read (CVE-ID: CVE-2017-16803)

CWE-ID: CWE-125 - Out-of-bounds read

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear


The vulnerability allows a remote attacker to cause DoS condition on the target system.

The weakness exists in the smacker_decode_tree function in libavcodec/smacker.c due to improper restrictions of tree recursion. A remote attacker can supply specially crafted Smacker stream, trigger bitstream.c:build_table() out-of-bounds read and cause the application to crash.

2) Heap-based buffer overflow (CVE-ID: CVE-2017-7862)

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

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber


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

The vulnerability exists due to heap-based buffer overflow related to the decode_frame function in libavcodec/pictordec.c. A remote unauthenticated attacker can supply specially crafted input, trigger out-of-bounds write and execute arbitrary code with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Install update from vendor's website.