CVE-2018-9862 Privilege escalation in n/a
Attackers can gain root access in Docker containers by exploiting numeric username handling in runV via docker exec.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-9862?
CVE-2018-9862 is a high-severity vulnerability in n/a, published on 9 Apr 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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: CWE-838
Which versions are affected by CVE-2018-9862?
It affects 1 product.
Products include Hyper Runv.
How do I fix CVE-2018-9862?
No fix has been published for CVE-2018-9862 yet. Limit exposure of the affected software until one is available.
Is CVE-2018-9862 being exploited?
There is no known exploitation of CVE-2018-9862 in the wild and no public exploit code.
Sources
Also known as GHSA-xpc5-66vp-j2wh.