{"answers":{"affected":"It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-19788 exists.","fix":"Apply the vendor's patch.","what":"CVE-2018-19788 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 3 Dec 2018. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-19788 and fix it if it is affected.\n\nWhat it is: CVE-2018-19788 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 3 Dec 2018. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-19788 exists.\n\nAffected product: Canonical Ubuntu Linux. 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-2018-19788/ (Markdown: https://insights.sbomify.com/CVE-2018-19788/index.md)","id":"CVE-2018-19788","markdown":"https://insights.sbomify.com/CVE-2018-19788/index.md","name":"CVE-2018-19788","record":{"aliases":["ALPINE-CVE-2018-19788","DEBIAN-CVE-2018-19788","DSA-4350-1","GHSA-4569-2jp2-r7vf","RHSA-2019:2046","RHSA-2019:3232","SUSE-SU-2019:0015-1","SUSE-SU-2019:0019-1","SUSE-SU-2019:0019-2","UBUNTU-CVE-2018-19788","USN-3861-1","openSUSE-SU-2019:0010-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Linux PolicyKit","requires_auth":"low_privilege","summary":"A user with a UID greater than INT_MAX can execute arbitrary systemctl commands, leading to privilege escalation on Linux systems using PolicyKit.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"polkit","vendor":"polkit_project"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"A flaw was found in PolicyKit (aka polkit) 0.115 that allows a user with a uid greater than INT_MAX to successfully execute any systemctl command.","ecosystems":["Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:rhel_eus:7.6::computenode","Red Hat:rhel_eus:7.6::server","SUSE:Enterprise Storage 4","SUSE:Linux Enterprise Desktop 12 SP3","SUSE:Linux Enterprise Desktop 12 SP4","SUSE:Linux Enterprise Module for Basesystem 15","SUSE:Linux Enterprise Server 12 SP1-LTSS","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP2-LTSS","SUSE:Linux Enterprise Server 12 SP3","SUSE:Linux Enterprise Server 12 SP4","SUSE:Linux Enterprise Server 12-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP1","SUSE:Linux Enterprise Server for SAP Applications 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Software Development Kit 12 SP3","SUSE:Linux Enterprise Software Development Kit 12 SP4","SUSE:Linux Enterprise Workstation Extension 12 SP3","SUSE:Linux Enterprise Workstation Extension 12 SP4","SUSE:OpenStack Cloud 7","openSUSE:Leap 15.0"],"exploits":{"exploitdb":0,"first_seen":"2018-12-07","github_poc":4,"max_poc_stars":19,"metasploit":0,"nuclei":0,"refs":[{"date":"2018-12-17T19:26:22Z","kind":"github_poc","ref":"https://github.com/Ekultek/PoC","stars":19,"title":"Leveraging CVE-2018-19788 without root shells"},{"date":"2018-12-07T00:42:35Z","kind":"github_poc","ref":"https://github.com/AbsoZed/CVE-2018-19788","stars":5,"title":"Silly easy exploit for CVE-2018-19788"},{"date":"2018-12-07T20:27:01Z","kind":"github_poc","ref":"https://github.com/d4gh0s7/CVE-2018-19788","stars":3,"title":"Ansible role to check the vulnerability tracked as CVE-2018-19788, impacts PolicyKit version 0.115 which comes pre-installed on a wide range of Linux distributions"},{"date":"2018-12-31T16:54:58Z","kind":"github_poc","ref":"https://github.com/jhlongjr/CVE-2018-19788","stars":1,"title":"Exploiting The CVE-2018-19788 PolicyKit Bug"}],"tier":"weaponised"},"has_fix":true,"headline":"Integer overflow in n/a","id":"CVE-2018-19788","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","debian:debian_linux"],"type":"integer_overflow","year":"2018"},"n_packages":44,"n_references":9,"next":{"headline":"Symfony Path Disclosure","id":"CVE-2018-19789"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.112-22.el7"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/redhat/polkit","source":"RHSA-2019:2046"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.112-22.el7"],"introduced":["0"],"last_affected":[],"package":"polkit-debuginfo","purl":"pkg:rpm/redhat/polkit-debuginfo","source":"RHSA-2019:2046"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.112-22.el7"],"introduced":["0"],"last_affected":[],"package":"polkit-devel","purl":"pkg:rpm/redhat/polkit-devel","source":"RHSA-2019:2046"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.112-22.el7"],"introduced":["0"],"last_affected":[],"package":"polkit-docs","purl":"pkg:rpm/redhat/polkit-docs","source":"RHSA-2019:2046"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.112-22.el7"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/redhat/polkit","source":"RHSA-2019:2046"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.112-22.el7"],"introduced":["0"],"last_affected":[],"package":"polkit-debuginfo","purl":"pkg:rpm/redhat/polkit-debuginfo","source":"RHSA-2019:2046"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.112-22.el7"],"introduced":["0"],"last_affected":[],"package":"polkit-devel","purl":"pkg:rpm/redhat/polkit-devel","source":"RHSA-2019:2046"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.112-22.el7"],"introduced":["0"],"last_affected":[],"package":"polkit-docs","purl":"pkg:rpm/redhat/polkit-docs","source":"RHSA-2019:2046"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.112-22.el7"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/redhat/polkit","source":"RHSA-2019:2046"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.112-22.el7"],"introduced":["0"],"last_affected":[],"package":"polkit-debuginfo","purl":"pkg:rpm/redhat/polkit-debuginfo","source":"RHSA-2019:2046"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.112-22.el7"],"introduced":["0"],"last_affected":[],"package":"polkit-devel","purl":"pkg:rpm/redhat/polkit-devel","source":"RHSA-2019:2046"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.112-22.el7"],"introduced":["0"],"last_affected":[],"package":"polkit-docs","purl":"pkg:rpm/redhat/polkit-docs","source":"RHSA-2019:2046"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.112-22.el7"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/redhat/polkit","source":"RHSA-2019:2046"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.112-22.el7"],"introduced":["0"],"last_affected":[],"package":"polkit-debuginfo","purl":"pkg:rpm/redhat/polkit-debuginfo","source":"RHSA-2019:2046"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.112-22.el7"],"introduced":["0"],"last_affected":[],"package":"polkit-devel","purl":"pkg:rpm/redhat/polkit-devel","source":"RHSA-2019:2046"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.112-22.el7"],"introduced":["0"],"last_affected":[],"package":"polkit-docs","purl":"pkg:rpm/redhat/polkit-docs","source":"RHSA-2019:2046"},{"ecosystem":"Red Hat:rhel_eus:7.6::computenode","fixed":["0:0.112-18.el7_6.2"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/redhat/polkit","source":"RHSA-2019:3232"},{"ecosystem":"Red Hat:rhel_eus:7.6::computenode","fixed":["0:0.112-18.el7_6.2"],"introduced":["0"],"last_affected":[],"package":"polkit-debuginfo","purl":"pkg:rpm/redhat/polkit-debuginfo","source":"RHSA-2019:3232"},{"ecosystem":"Red Hat:rhel_eus:7.6::computenode","fixed":["0:0.112-18.el7_6.2"],"introduced":["0"],"last_affected":[],"package":"polkit-devel","purl":"pkg:rpm/redhat/polkit-devel","source":"RHSA-2019:3232"},{"ecosystem":"Red Hat:rhel_eus:7.6::computenode","fixed":["0:0.112-18.el7_6.2"],"introduced":["0"],"last_affected":[],"package":"polkit-docs","purl":"pkg:rpm/redhat/polkit-docs","source":"RHSA-2019:3232"},{"ecosystem":"Red Hat:rhel_eus:7.6::server","fixed":["0:0.112-18.el7_6.2"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/redhat/polkit","source":"RHSA-2019:3232"},{"ecosystem":"Red Hat:rhel_eus:7.6::server","fixed":["0:0.112-18.el7_6.2"],"introduced":["0"],"last_affected":[],"package":"polkit-debuginfo","purl":"pkg:rpm/redhat/polkit-debuginfo","source":"RHSA-2019:3232"},{"ecosystem":"Red Hat:rhel_eus:7.6::server","fixed":["0:0.112-18.el7_6.2"],"introduced":["0"],"last_affected":[],"package":"polkit-devel","purl":"pkg:rpm/redhat/polkit-devel","source":"RHSA-2019:3232"},{"ecosystem":"Red Hat:rhel_eus:7.6::server","fixed":["0:0.112-18.el7_6.2"],"introduced":["0"],"last_affected":[],"package":"polkit-docs","purl":"pkg:rpm/redhat/polkit-docs","source":"RHSA-2019:3232"},{"ecosystem":"SUSE:Enterprise Storage 4","fixed":["0.113-5.15.1"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/suse/polkit\u0026distro=SUSE%20Enterprise%20Storage%204","source":"SUSE-SU-2019:0019-1"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","fixed":["0.113-5.15.1"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/suse/polkit\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3","source":"SUSE-SU-2019:0019-1"},{"ecosystem":"SUSE:Linux Enterprise Desktop 12 SP4","fixed":["0.113-5.15.1"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/suse/polkit\u0026distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP4","source":"SUSE-SU-2019:0019-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","fixed":["0.114-3.6.1"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/suse/polkit\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015","source":"SUSE-SU-2019:0015-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP1-LTSS","fixed":["0.113-5.15.1"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/suse/polkit\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSS","source":"SUSE-SU-2019:0019-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["0.113-5.15.1"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/suse/polkit\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2019:0019-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-LTSS","fixed":["0.113-5.15.1"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/suse/polkit\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSS","source":"SUSE-SU-2019:0019-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3","fixed":["0.113-5.15.1"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/suse/polkit\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3","source":"SUSE-SU-2019:0019-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4","fixed":["0.113-5.15.1"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/suse/polkit\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4","source":"SUSE-SU-2019:0019-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12-LTSS","fixed":["0.113-5.15.1"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/suse/polkit\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012-LTSS","source":"SUSE-SU-2019:0019-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","fixed":["0.113-5.15.1"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/suse/polkit\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1","source":"SUSE-SU-2019:0019-2"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","fixed":["0.113-5.15.1"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/suse/polkit\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2","source":"SUSE-SU-2019:0019-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","fixed":["0.113-5.15.1"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/suse/polkit\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3","source":"SUSE-SU-2019:0019-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["0.113-5.15.1"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/suse/polkit\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2019:0019-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","fixed":["0.113-5.15.1"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/suse/polkit\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3","source":"SUSE-SU-2019:0019-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP4","fixed":["0.113-5.15.1"],"introduced":["0"],"last_affected":[],"package":"polkit","purl":"pkg:rpm/suse/polkit\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP4","source":"SUSE-SU-2019:0019-1"}],"prev":{"headline":"Improper Neutralization of Input During Web Page Generation in LXML","id":"CVE-2018-19787"},"products":["n/a"],"published":"2018-12-03","related":[{"cvss_score":9.8,"headline":"SaltStack Salt Authentication Bypass","id":"CVE-2020-11651","kev_date_added":"2021-11-03","published":"2020-04-30"},{"cvss_score":9.8,"headline":"OpenSMTPD Remote Code Execution","id":"CVE-2020-7247","kev_date_added":"2022-03-25","published":"2020-01-29"},{"cvss_score":9.8,"headline":"Exim Out-of-bounds Write","id":"CVE-2019-16928","kev_date_added":"2022-03-03","published":"2019-09-27"},{"cvss_score":9.8,"headline":"Exim Buffer Overflow","id":"CVE-2018-6789","kev_date_added":"2021-11-03","published":"2018-02-08"},{"cvss_score":9.8,"headline":"Oracle Java SE and Java SE Embedded Remote Code Execution","id":"CVE-2015-2590","kev_date_added":"2022-03-03","published":"2015-07-16"},{"cvss_score":9.8,"headline":"Oracle JRE Remote Code Execution","id":"CVE-2013-0422","kev_date_added":"2022-05-25","published":"2013-01-10"},{"cvss_score":9.8,"headline":"Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution","id":"CVE-2011-3544","kev_date_added":"2022-03-03","published":"2011-10-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-29","vendors":["n/a"]},"summary":"A user with a UID greater than INT_MAX can execute arbitrary systemctl commands, leading to privilege escalation on Linux systems using PolicyKit.","url":"https://insights.sbomify.com/CVE-2018-19788/"}