---
title: "CVE-2020-8907\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2020-8907?format=md
keywords: index, follow
---

# CVE-2020-8907

Publication date 22 June 2020

Last updated 3 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.8 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2020-8907?format=md#impact-score)

Toggle side navigation

## Description

A 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| gce-compute-image-packages | 26.04 LTS resolute | Fixed 20190801-0ubuntu5 |
| 25.10 questing | Fixed 20190801-0ubuntu5 |
| 25.04 plucky | Fixed 20190801-0ubuntu5 |
| 24.10 oracular | Fixed 20190801-0ubuntu5 |
| 24.04 LTS noble | Fixed 20190801-0ubuntu5 |
| 23.10 mantic | Fixed 20190801-0ubuntu5 |
| 23.04 lunar | Fixed 20190801-0ubuntu5 |
| 22.10 kinetic | Fixed 20190801-0ubuntu5 |
| 22.04 LTS jammy | Fixed 20190801-0ubuntu5 |
| 21.10 impish | Fixed 20190801-0ubuntu5 |
| 21.04 hirsute | Fixed 20190801-0ubuntu5 |
| 20.10 groovy | Fixed 20190801-0ubuntu5 |
| 20.04 LTS focal | Fixed 20190801-0ubuntu4.1 |
| 19.10 eoan | Fixed 20190801-0ubuntu1.1 |
| 18.04 LTS bionic | Fixed 20190801-0ubuntu1~18.04.1 |
| 16.04 LTS xenial | Fixed 20190801-0ubuntu1~16.04.1 |
| 14.04 LTS trusty | Vulnerable |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.8 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.8 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8907)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2020-8907)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2020-8907)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2020-8907)

### Other references

* <https://cloud.google.com/support/bulletins/#gcp-2020-008>
* <https://github.com/GoogleCloudPlatform/guest-oslogin/pull/29>
* <https://gitlab.com/gitlab-com/gl-security/gl-redteam/red-team-tech-notes/-/tree/master/oslogin-privesc-june-2020>
* <https://www.cve.org/CVERecord?id=CVE-2020-8907>
