CVE-2018-9862

Source
https://cve.org/CVERecord?id=CVE-2018-9862
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-9862.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-9862
Published
2018-04-09T16:29:00.273Z
Modified
2026-07-08T20:15:01.018422Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/hyperhq/runv

Affected ranges

Type
GIT
Repo
https://github.com/hyperhq/runv
Events
Database specific
{
    "cpe": "cpe:2.3:a:hyper:runv:1.0.0:*:*:*:*:docker:*:*",
    "extracted_events": [
        {
            "introduced": "1.0.0"
        },
        {
            "last_affected": "1.0.0"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

1.*
1.0.0
v1.*
v1.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-9862.json"