CVE-2020-8903
published high CVSS 4.0 · 7.3Priviged Escalation in Google Cloud Platform's Guest-OSLogin
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Google LLC | — | guest-oslogin20190304 to < 20200507 (affected · date) · 20200507 (unaffected · date) · Other versions: unaffected | Version-specific | Not stated | |
| SUSE / openSUSE | SLE-12 | google-compute-engine-initnoarch | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12 | google-compute-engine-osloginaarch64 | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12 | google-compute-engine-osloginppc64le | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12 | google-compute-engine-oslogins390x | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12 | google-compute-engine-osloginx86_64 | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12-SP3 | google-compute-engine-initnoarch | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12-SP3 | google-compute-engine-osloginaarch64 | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
Show 31 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP3 | google-compute-engine-osloginppc64le | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12-SP3 | google-compute-engine-oslogins390x | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12-SP3 | google-compute-engine-osloginx86_64 | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12-SP4 | google-compute-engine-initnoarch | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12-SP4 | google-compute-engine-osloginaarch64 | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12-SP4 | google-compute-engine-osloginppc64le | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12-SP4 | google-compute-engine-oslogins390x | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12-SP4 | google-compute-engine-osloginx86_64 | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12-SP5 | google-compute-engine-initnoarch | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12-SP5 | google-compute-engine-osloginaarch64 | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12-SP5 | google-compute-engine-osloginppc64le | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12-SP5 | google-compute-engine-oslogins390x | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-12-SP5 | google-compute-engine-osloginx86_64 | Advisory build | 20190801-54.1 | SUSE-SU-2020:2200-1 |
| SUSE / openSUSE | SLE-15-SP1 | google-compute-engine-initnoarch | Advisory build | 20190801-4.38.1 | SUSE-SU-2020:1934-1 |
| SUSE / openSUSE | SLE-15-SP1 | google-compute-engine-osloginaarch64 | Advisory build | 20190801-4.38.1 | SUSE-SU-2020:1934-1 |
| SUSE / openSUSE | SLE-15-SP1 | google-compute-engine-osloginppc64le | Advisory build | 20190801-4.38.1 | SUSE-SU-2020:1934-1 |
| SUSE / openSUSE | SLE-15-SP1 | google-compute-engine-oslogins390x | Advisory build | 20190801-4.38.1 | SUSE-SU-2020:1934-1 |
| SUSE / openSUSE | SLE-15-SP1 | google-compute-engine-osloginx86_64 | Advisory build | 20190801-4.38.1 | SUSE-SU-2020:1934-1 |
| SUSE / openSUSE | SLE-15-SP2 | google-compute-engine-initnoarch | Advisory build | 20190801-4.38.1 | SUSE-SU-2020:1934-1 |
| SUSE / openSUSE | SLE-15-SP2 | google-compute-engine-osloginaarch64 | Advisory build | 20190801-4.38.1 | SUSE-SU-2020:1934-1 |
| SUSE / openSUSE | SLE-15-SP2 | google-compute-engine-osloginppc64le | Advisory build | 20190801-4.38.1 | SUSE-SU-2020:1934-1 |
| SUSE / openSUSE | SLE-15-SP2 | google-compute-engine-oslogins390x | Advisory build | 20190801-4.38.1 | SUSE-SU-2020:1934-1 |
| SUSE / openSUSE | SLE-15-SP2 | google-compute-engine-osloginx86_64 | Advisory build | 20190801-4.38.1 | SUSE-SU-2020:1934-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | google-compute-engine-initnoarch | Advisory build | 20190801-lp151.2.25.1 | OPENSUSE-SU-2020:0996-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | google-compute-engine-oslogini586 | Advisory build | 20190801-lp151.2.25.1 | OPENSUSE-SU-2020:0996-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | google-compute-engine-osloginx86_64 | Advisory build | 20190801-lp151.2.25.1 | OPENSUSE-SU-2020:0996-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | google-compute-engine-oslogin-32bitx86_64 | Advisory build | 20190801-lp151.2.25.1 | OPENSUSE-SU-2020:0996-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | google-compute-engine-initnoarch | Advisory build | 20190801-lp152.5.4.1 | OPENSUSE-SU-2020:1014-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | google-compute-engine-oslogini586 | Advisory build | 20190801-lp152.5.4.1 | OPENSUSE-SU-2020:1014-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | google-compute-engine-osloginx86_64 | Advisory build | 20190801-lp152.5.4.1 | OPENSUSE-SU-2020:1014-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | google-compute-engine-oslogin-32bitx86_64 | Advisory build | 20190801-lp152.5.4.1 | OPENSUSE-SU-2020:1014-1 |
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 "adm" group, users with this role are able to read the DHCP XID from the systemd journal. Using the DHCP XID, it is then possible to set the IP address and hostname of the instance to any value, which is then stored in /etc/hosts. An attacker can then point metadata.google.internal to an arbitrary IP address and impersonate the GCE metadata server which make it is possible to instruct the OS Login PAM module to grant 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 "adm" user from the OS Login entry.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- Google · cna
- Vector string
- CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Google LLC | guest-oslogin | 20190304 to < 20200507 (affected · date)20200507 (unaffected · date)Default: unaffected | Google · cna |
Weaknesses
1- CWE-276 CWE-276 Incorrect Default Permissions
References
5- openSUSE-SU-2020:0996 http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00037.html
- openSUSE-SU-2020:1014 http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00047.html
- 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
Provider assertions
2Google · cna
Priviged Escalation in Google Cloud Platform's Guest-OSLogin
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f7b4363371c2e13829ae8803a9b62b737607ccd5a5a4a5df8e9cca78a0dd0dfe
- Ingested
- 23 Sep 2026, 07:51:37 UTC
- Source record
- Official CVE record