CVE-2016-3697
Description
libcontainer/user/user.go in runC before 0.1.0, as used in Docker before 1.11.2, improperly treats a numeric UID as a potential username, which allows local users to gain privileges via a numeric username in the password file in a container.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2016-3697 NameCVE-2016-3697 Descriptionlibcontainer/user/user.go in runC before 0.1.0, as used in Docker before 1.11.2, improperly treats a numeric UID as a potential username, which allows local users to gain privileges via a numeric username in the password file in a container. SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE,โฆ
CVE-2016-3697
| Name | CVE-2016-3697 |
| Description | libcontainer/user/user.go in runC before 0.1.0, as used in Docker before 1.11.2, improperly treats a numeric UID as a potential username, which allows local users to gain privileges via a numeric username in the password file in a container. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| docker.io (PTS) | bullseye | 20.10.5+dfsg1-1+deb11u2 | fixed |
| bullseye (security) | 20.10.5+dfsg1-1+deb11u4 | fixed | |
| bookworm | 20.10.24+dfsg1-1+deb12u1 | fixed | |
| trixie | 26.1.5+dfsg1-9 | fixed | |
| forky, sid | 28.5.2+dfsg4-2 | fixed | |
| runc (PTS) | bullseye | 1.0.0~rc93+ds1-5+deb11u5 | fixed |
| bullseye (security) | 1.0.0~rc93+ds1-5+deb11u3 | fixed | |
| bookworm, bookworm (security) | 1.1.5+ds1-1+deb12u1 | fixed | |
| trixie | 1.1.15+ds1-2 | fixed | |
| forky, sid | 1.3.5+ds1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| docker.io | source | (unstable) | (not affected) | |||
| runc | source | (unstable) | 0.1.0+dfsg-1 |
Notes
- docker.io <not-affected> (Vulnerable code not present)
Affected file not present, but docker.io probably needs to be rebuild with fixed runc
https://github.com/opencontainers/runc/commit/69af385de62ea68e2e608335cffbb0f4aa3db091 (runc, v0.1.0)
https://github.com/docker/docker/commit/da38ac6c79fe902ed0687afc73d731c95c6d491a (docker)
Apply commands
- docker.io <not-affected> (Vulnerable code not present)Affected file not present, but docker.io probably needs to be rebuild with fixed runchttps://github.com/opencontainers/runc/commit/69af385de62ea68e2e608335cffbb0f4aa3db091 (runc, v0.1.0)https://github.com/docker/docker/commit/da38ac6c79fe902ed0687afc73d731c95c6d491a (docker)
OS impact
SUSE Affected 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 13.2 | Affected | โ |
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 0 |
| sid | Fixed | 0 |
| forky | Fixed | 0 |
| bullseye | Fixed | 0 |
| bookworm | Fixed | 0 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | github.com/opencontainers/runc | <0.1.0 | 0.1.0 |
References
- https://www.suse.com/security/cve/CVE-2016-3697.html
- http://lists.opensuse.org/opensuse-updates/2016-05/msg00111.html
- http://rhn.redhat.com/errata/RHSA-2016-1034.html
- http://rhn.redhat.com/errata/RHSA-2016-2634.html
- https://github.com/docker/docker/issues/21436
- https://github.com/opencontainers/runc/commit/69af385de62ea68e2e608335cffbb0f4aa3db091
- https://github.com/opencontainers/runc/pull/708
- https://github.com/opencontainers/runc/releases/tag/v0.1.0
- https://security.gentoo.org/glsa/201612-28
- https://security-tracker.debian.org/tracker/CVE-2016-3697
- https://nvd.nist.gov/vuln/detail/CVE-2016-3697
- https://github.com/opencontainers/runc
- https://lists.opensuse.org/opensuse-updates/2016-05/msg00111.html
- https://pkg.go.dev/vuln/GO-2021-0070
- https://rhn.redhat.com/errata/RHSA-2016-1034.html
- https://rhn.redhat.com/errata/RHSA-2016-2634.html
CWEs
CWE-264
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.