{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2020-8903 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2020-8903 is a high-severity vulnerability in Opensuse Leap, published on 22 Jun 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-8903 and fix it if it is affected.\n\nWhat it is: CVE-2020-8903 is a high-severity vulnerability in Opensuse Leap, published on 22 Jun 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-8903 in the wild and no public exploit code.\n\nAffected product: Opensuse Leap. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-8903/ (Markdown: https://insights.sbomify.com/CVE-2020-8903/index.md)","id":"CVE-2020-8903","markdown":"https://insights.sbomify.com/CVE-2020-8903/index.md","name":"CVE-2020-8903","record":{"aliases":["GHSA-29mh-jw46-2rf9","UBUNTU-CVE-2020-8903"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GCP Guest OS Login","requires_auth":"low_privilege","summary":"Attackers with OS Login role can escalate to root by impersonating the metadata server via DHCP XID manipulation in GCP instances.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"guest-oslogin","vendor":"google"},{"product":"leap","vendor":"opensuse"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Priviged Escalation in Google Cloud Platform's Guest-OSLogin","id":"CVE-2020-8903","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"opensuse:leap","products":["opensuse:leap"],"type":"privilege_escalation","year":"2020"},"n_packages":0,"n_references":5,"next":{"headline":"Arbitrary trusted memory overwrite vulnerability in Asylo","id":"CVE-2020-8904"},"packages":[],"prev":{"headline":"SSRF in Rendertron","id":"CVE-2020-8902"},"products":["guest-oslogin"],"published":"2020-06-22","related":[{"cvss_score":9.3,"headline":"Priviged Escalation in Google Cloud Platform's Guest-OSLogin","id":"CVE-2020-8907","kev_date_added":null,"published":"2020-06-22"},{"cvss_score":9.3,"headline":"Priviged Escalation in Google Cloud Platform's Guest-OSLogin","id":"CVE-2020-8933","kev_date_added":null,"published":"2020-06-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Google LLC"]},"summary":"Attackers with OS Login role can escalate to root by impersonating the metadata server via DHCP XID manipulation in GCP instances.","url":"https://insights.sbomify.com/CVE-2020-8903/"}