Arista Networks EOS ASN.1 Encoder RCE (SA0020)

critical Nessus Plugin ID 107062
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The version of Arista Networks EOS running on the remote device is affected by a remote code execution vulnerability.

Description

The version of Arista Networks EOS running on the remote device is affected by a remote code execution vulnerability in the ASN.1 encoder due to an underflow condition that occurs when attempting to encode the value zero represented as a negative integer. An unauthenticated, remote attacker can exploit this to corrupt memory, resulting in the execution of arbitrary code.

Solution

Contact the vendor for a fixed version, or apply the patch file referenced in the vendor advisory.

See Also

http://www.nessus.org/u?cdf5a8ee

Plugin Details

Severity: Critical

ID: 107062

File Name: arista_eos_sa0020.nasl

Version: 1.8

Type: combined

Family: Misc.

Published: 2/28/2018

Updated: 3/13/2020

Dependencies: arista_eos_detect.nbin

Risk Information

CVSS Score Source: CVE-2016-2108

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:2.3:o:arista:eos:*:*:*:*:*:*:*:*

Required KB Items: Host/Arista-EOS/Version

Exploit Ease: No known exploits are available

Patch Publication Date: 5/20/2016

Vulnerability Publication Date: 5/3/2016

Reference Information

CVE: CVE-2016-2108

BID: 89752