GLSA-201702-21 : Opus: User-assisted execution of arbitrary code

high Nessus Plugin ID 97264


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-201702-21 (Opus: User-assisted execution of arbitrary code)

A large NLSF values could cause the stabilization code in silk/NLSF_stabilize.c to wrap-around and have the last value in NLSF_Q15[] to be negative, close to -32768.
Under normal circumstances, the code will simply read from the wrong table resulting in an unstable LPC filter. The filter would then go through the LPC stabilization code at the end of silk_NLSF2A().
Ultimately, the output audio would be garbage, but no worse than with any other harmless bad packet.
Please see the referenced upstream patch and Debian bug report below for a detailed analysis.
However, the original report was about a successful exploitation of Android’s Mediaserver in conjunction with this vulnerability.
Impact :

A remote attacker could entice a user to open a specially crafted media stream, possibly resulting in execution of arbitrary code with the privileges of the process, or a Denial of Service condition.
Workaround :

There is no known workaround at this time.


All Opus users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=media-libs/opus-1.1.3-r1'

See Also;a=commitdiff;h=70a3d641b

Plugin Details

Severity: High

ID: 97264

File Name: gentoo_GLSA-201702-21.nasl

Version: 3.2

Type: local

Published: 2/21/2017

Updated: 1/11/2021

Risk Information


Risk Factor: Medium

Score: 5.9


Risk Factor: High

Base Score: 9.3

Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C


Risk Factor: High

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:opus, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2/20/2017

Reference Information

CVE: CVE-2017-0381

GLSA: 201702-21