GLSA-201701-34 : runC: Privilege escalation

medium Nessus Plugin ID 96475

Synopsis

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

Description

The remote host is affected by the vulnerability described in GLSA-201701-34 (runC: Privilege escalation)

A vulnerability was discovered in runC that allows additional container processes via ‘runc exec’ to be ptraced by the pid 1 of the container. This allows the main processes of the container, if running as root, to gain access to file-descriptors of these new processes.
Impact :

An attacker, who is able to successfully escape the container or modify runC’s state before process initialization, could escalate privileges.
Workaround :

There is no known workaround at this time.

Solution

All runC users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-emulation/runc-1.0.0_rc2-r2'

See Also

https://security.gentoo.org/glsa/201701-34

Plugin Details

Severity: Medium

ID: 96475

File Name: gentoo_GLSA-201701-34.nasl

Version: 3.4

Type: local

Published: 1/13/2017

Updated: 1/11/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 4.4

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

CVSS v3

Risk Factor: Medium

Base Score: 6.4

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

Vulnerability Information

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

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

Patch Publication Date: 1/12/2017

Reference Information

CVE: CVE-2016-9962

GLSA: 201701-34