PT-2016-5663 · Docker+4 · Docker+4
Jordmoz
·
Published
2016-04-13
·
Updated
2026-05-15
·
CVE-2016-3697
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
runC versions prior to 0.1.0
Docker versions prior to 1.11.2
Description
The issue improperly treats a numeric UID as a potential username, allowing local users to gain privileges via a numeric username in the password file in a container. This occurs because the GetExecUser function in the libcontainer/user package will improperly interpret numeric UIDs as usernames if the method is used without verifying that usernames are formatted as expected.
Recommendations
For runC versions prior to 0.1.0, update to version 0.1.0 or later to resolve the issue.
For Docker versions prior to 1.11.2, update to version 1.11.2 or later to resolve the issue.
As a temporary workaround, consider verifying that usernames are formatted as expected before using the GetExecUser function to minimize the risk of exploitation.
Fix
Improper Privilege Management
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Docker
Red Os
Suse
Runc