CVE-2016-3697:
Privilege Elevation in runc
7.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.28301%
CWE
Published
12/20/2021
Updated
8/29/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/opencontainers/runc | go | < 0.1.0 | 0.1.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from how GetExecUser
in libcontainer/user/user.go
processed user specifications. The pre-patch implementation attempted to match user arguments against both usernames and stringified UIDs, allowing numeric usernames to be interpreted as UID values. The GitHub patch shows this function was modified to: 1) pre-convert user arguments to numeric IDs, 2) eliminate username comparisons for numeric inputs, and 3) strictly treat numeric arguments as UIDs. The CVE description and commit message explicitly reference this function's flawed logic as the vulnerability source.