CVE-2020-8903

gce-compute-image-packages: A vulnerability in Google Cloud Platform's guest-oslogin versions between20190304 and 20200507 allows a user that is...

CVE-2020-8903 is fixed in 5 products on 1 platform, first by gce-compute-image-packages 20190801-0ubuntu1~18.04.1, released June 22, 2020. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0032
24th percentile

A vulnerability in Google Cloud Platform's guest-oslogin versions between20190304 and 20200507 allows a user that is only granted the role"roles/compute.osLogin" to escalate privileges to root. Using theirmembership to the "adm" group, users with this role are able to read theDHCP XID from the systemd journal. Using the DHCP XID, it is then possibleto set the IP address and hostname of the instance to any value, which isthen stored in /etc/hosts. An attacker can then pointmetadata.google.internal to an arbitrary IP address and impersonate the GCEmetadata server which make it is possible to instruct the OS Login PAMmodule to grant administrative privileges. All images created after2020-May-07 (20200507) are fixed, and if you cannot update, we recommendyou edit /etc/group/security.conf and remove the "adm" user from the OSLogin entry.

Where it's fixed

ProductFixed inFixReleased
Linux
gce-compute-image-packages · Ubuntu 18.04.6 LTS (bionic) 20190801-0ubuntu1~18.04.1 gce-compute-image-packages 20190801-0ubuntu1~18.04.1 Jun 22, 2020
gce-compute-image-packages · Ubuntu 20.04 LTS (focal) 20190801-0ubuntu4.1 gce-compute-image-packages 20190801-0ubuntu4.1 Jun 22, 2020
gce-compute-image-packages · Ubuntu 24.10 (oracular) 20190801-0ubuntu5 gce-compute-image-packages 20190801-0ubuntu5 Jan 16, 2026
gce-compute-image-packages · Ubuntu 25.04 (plucky) 20190801-0ubuntu5 gce-compute-image-packages 20190801-0ubuntu5 Jan 16, 2026
google-compute-engine · Ubuntu 24.10 (oracular) 20190801-0ubuntu5 google-compute-engine 20190801-0ubuntu5 Jan 16, 2026
google-compute-engine · Ubuntu 25.04 (plucky) 20190801-0ubuntu5 google-compute-engine 20190801-0ubuntu5 Jan 16, 2026
google-compute-engine-oslogin · Ubuntu 18.04.6 LTS (bionic) 20190801-0ubuntu1~18.04.1 google-compute-engine-oslogin 20190801-0ubuntu1~18.04.1 Jun 22, 2020
google-compute-engine-oslogin · Ubuntu 20.04 LTS (focal) 20190801-0ubuntu4.1 google-compute-engine-oslogin 20190801-0ubuntu4.1 Jun 22, 2020
python-google-compute-engine · Ubuntu 18.04.6 LTS (bionic) 20190801-0ubuntu1~18.04.1 python-google-compute-engine 20190801-0ubuntu1~18.04.1 Jun 22, 2020
python3-google-compute-engine · Ubuntu 18.04.6 LTS (bionic) 20190801-0ubuntu1~18.04.1 python3-google-compute-engine 20190801-0ubuntu1~18.04.1 Jun 22, 2020
python3-google-compute-engine · Ubuntu 20.04 LTS (focal) 20190801-0ubuntu4.1 python3-google-compute-engine 20190801-0ubuntu4.1 Jun 22, 2020

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.