VULNERABILITY INTELLIGENCE
CVE-2018-9862
CVSS score7.8 HIGH
EPSS probability0.42%
CISA KEVNot currently listed
Published2018-04-09
Last modified2026-06-17
CVSS vectorCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
util.c in runV 1.0.0 for Docker mishandles a numeric username, which allows attackers to obtain root access by leveraging the presence of an initial numeric value on an /etc/passwd line, and then issuing a "docker exec" command with that value in the -u argument, a similar issue to CVE-2016-3697.
Weakness classification
- CWE-838: Inappropriate Encoding for Output Context
Primary references
- cve@mitre.org — Broken Link, Third Party Advisory, VDB Entry
- cve@mitre.org — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Broken Link, Third Party Advisory, VDB Entry
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory