UBUNTU-CVE-2020-8907 (CVE-2020-8907)
Vulnerability from osv_ubuntu – Published: 2020-06-22 14:15 – Updated: 2025-10-24 04:48 – Source websiteA vulnerability in Google Cloud Platform's guest-oslogin versions between 20190304 and 20200507 allows a user that is only granted the role "roles/compute.osLogin" to escalate privileges to root. Using their membership to the "docker" group, an attacker with this role is able to run docker and mount the host OS. Within docker, it is possible to modify the host OS filesystem and modify /etc/groups to gain administrative privileges. All images created after 2020-May-07 (20200507) are fixed, and if you cannot update, we recommend you edit /etc/group/security.conf and remove the "docker" user from the OS Login entry.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gce-compute-image-packages",
"binary_version": "20190315-0ubuntu1~14.04.0"
},
{
"binary_name": "google-compute-engine-oslogin",
"binary_version": "20190315-0ubuntu1~14.04.0"
},
{
"binary_name": "python-google-compute-engine",
"binary_version": "20190315-0ubuntu1~14.04.0"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "gce-compute-image-packages",
"purl": "pkg:deb/ubuntu/gce-compute-image-packages@20190315-0ubuntu1~14.04.0?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"20160930-0ubuntu3~14.04.0",
"20160930-0ubuntu3~14.04.1",
"20160930-0ubuntu3~14.04.2",
"20160930-0ubuntu6~14.04.0",
"20170426-0ubuntu2~14.04.0",
"20170523-0ubuntu1~14.04.0",
"20170622-0ubuntu1~14.04.0",
"20170718-0ubuntu1~14.04.0",
"20171019+dfsg1-0ubuntu1~14.04.0",
"20171025+dfsg1-0ubuntu1~14.04.0",
"20171129+dfsg1-0ubuntu1~14.04.0",
"20180129+dfsg1-0ubuntu1~14.04.0",
"20180510+dfsg1-0ubuntu3~14.04.3",
"20180905+dfsg1-0ubuntu1~14.04.0",
"20180905+dfsg1-0ubuntu1~14.04.1",
"20190124+dfsg1-0ubuntu1~14.04.0",
"20190315-0ubuntu1~14.04.0"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "gce-compute-image-packages",
"binary_version": "20190801-0ubuntu1~16.04.1"
},
{
"binary_name": "google-compute-engine-oslogin",
"binary_version": "20190801-0ubuntu1~16.04.1"
},
{
"binary_name": "python-google-compute-engine",
"binary_version": "20190801-0ubuntu1~16.04.1"
},
{
"binary_name": "python3-google-compute-engine",
"binary_version": "20190801-0ubuntu1~16.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "gce-compute-image-packages",
"purl": "pkg:deb/ubuntu/gce-compute-image-packages@20190801-0ubuntu1~16.04.1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "20190801-0ubuntu1~16.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"20160930-0ubuntu3~16.04.0",
"20160930-0ubuntu5~16.04.0",
"20160930-0ubuntu6~16.04.0",
"20170426-0ubuntu2~16.04.0",
"20170523-0ubuntu1~16.04.0",
"20170622-0ubuntu1~16.04.0",
"20170718-0ubuntu1~16.04.0",
"20171019+dfsg1-0ubuntu1~16.04.0",
"20171025+dfsg1-0ubuntu1~16.04.0",
"20171129+dfsg1-0ubuntu1~16.04.0",
"20180129+dfsg1-0ubuntu1~16.04.0",
"20180510+dfsg1-0ubuntu3~16.04.0",
"20180510+dfsg1-0ubuntu3~16.04.1",
"20180905+dfsg1-0ubuntu1~16.04.0",
"20180905+dfsg1-0ubuntu1~16.04.1",
"20190124+dfsg1-0ubuntu1~16.04.0",
"20190522-0ubuntu1~16.04.0",
"20190801-0ubuntu1~16.04.0"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "gce-compute-image-packages",
"binary_version": "20190801-0ubuntu1~18.04.1"
},
{
"binary_name": "google-compute-engine-oslogin",
"binary_version": "20190801-0ubuntu1~18.04.1"
},
{
"binary_name": "python-google-compute-engine",
"binary_version": "20190801-0ubuntu1~18.04.1"
},
{
"binary_name": "python3-google-compute-engine",
"binary_version": "20190801-0ubuntu1~18.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "gce-compute-image-packages",
"purl": "pkg:deb/ubuntu/gce-compute-image-packages@20190801-0ubuntu1~18.04.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "20190801-0ubuntu1~18.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"20171006+dfsg1-0ubuntu1",
"20171019+dfsg1-0ubuntu1",
"20171025+dfsg1-0ubuntu1",
"20171129+dfsg1-0ubuntu1",
"20180129+dfsg1-0ubuntu1",
"20180129+dfsg1-0ubuntu2",
"20180129+dfsg1-0ubuntu3",
"20180510+dfsg1-0ubuntu4~18.04.0",
"20180510+dfsg1-0ubuntu4~18.04.1",
"20180905+dfsg1-0ubuntu1~18.04.0",
"20190124+dfsg1-0ubuntu1~18.04.0",
"20190522-0ubuntu1~18.04.0",
"20190801-0ubuntu1~18.04.0"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "gce-compute-image-packages",
"binary_version": "20190801-0ubuntu4.1"
},
{
"binary_name": "google-compute-engine-oslogin",
"binary_version": "20190801-0ubuntu4.1"
},
{
"binary_name": "python3-google-compute-engine",
"binary_version": "20190801-0ubuntu4.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "gce-compute-image-packages",
"purl": "pkg:deb/ubuntu/gce-compute-image-packages@20190801-0ubuntu4.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "20190801-0ubuntu4.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"20190801-0ubuntu1",
"20190801-0ubuntu2",
"20190801-0ubuntu3",
"20190801-0ubuntu4"
]
}
],
"aliases": [],
"details": "A vulnerability in Google Cloud Platform\u0027s guest-oslogin versions between 20190304 and 20200507 allows a user that is only granted the role \"roles/compute.osLogin\" to escalate privileges to root. Using their membership to the \"docker\" group, an attacker with this role is able to run docker and mount the host OS. Within docker, it is possible to modify the host OS filesystem and modify /etc/groups to gain administrative privileges. All images created after 2020-May-07 (20200507) are fixed, and if you cannot update, we recommend you edit /etc/group/security.conf and remove the \"docker\" user from the OS Login entry.",
"id": "UBUNTU-CVE-2020-8907",
"modified": "2025-10-24T04:48:20Z",
"published": "2020-06-22T14:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2020-8907"
},
{
"type": "REPORT",
"url": "https://cloud.google.com/support/bulletins/#gcp-2020-008"
},
{
"type": "REPORT",
"url": "https://github.com/GoogleCloudPlatform/guest-oslogin/pull/29"
},
{
"type": "REPORT",
"url": "https://gitlab.com/gitlab-com/gl-security/gl-redteam/red-team-tech-notes/-/tree/master/oslogin-privesc-june-2020"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2020-8907"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2020-8907"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.