cve.bz

CVE-2018-19788 Improper Input Validation

8.8 highExploit referenceEPSS 12%Fix available

High (8.8). EPSS 12% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
12% (unchanged from 12% a week ago; 12% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-08-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-19788 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-19788?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-19788?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-19788 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
polkit_project:polkit0.115
debian:debian_linux8.0
debian:debian_linux9.0
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8policykit-10.105-15~deb8u4DLA-1644-1
Debian9policykit-10.105-18+deb9u1DSA-4350-1
Debian12, 13, 14policykit-10.105-23DEBIAN-CVE-2018-19788
Ubuntu14.04:LTSpolicykit-10.105-4ubuntu3.14.04.5UBUNTU-CVE-2018-19788 USN-3861-1
Ubuntu16.04:LTSpolicykit-10.105-14.1ubuntu0.4UBUNTU-CVE-2018-19788 USN-3861-1
Ubuntu18.04:LTSpolicykit-10.105-20ubuntu0.18.04.4UBUNTU-CVE-2018-19788 USN-3861-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morepolkit, polkit-docs, polkit-devel and 1 more0:0.112-22.el7RHSA-2019:2046
Red Hatrhel_eus:7.6::computenode, rhel_eus:7.6::serverpolkit, polkit-docs, polkit-devel and 1 more0:0.112-18.el7_6.2RHSA-2019:3232
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4 and 14 morepolkit0.113-5.15.1SUSE-SU-2019:0019-1
SUSELinux Enterprise Module for Basesystem 15polkit0.114-3.6.1SUSE-SU-2019:0015-1
SUSELinux Enterprise Server for SAP Applications 12 SP1polkit0.113-5.15.1SUSE-SU-2019:0019-2
openSUSELeap 15.0polkit0.114-lp150.2.6.1openSUSE-SU-2019:0010-1
openSUSETumbleweedpolkit0.118-7.2openSUSE-SU-2024:11180-1
Alpinev3.6, v3.7polkit0.105-r8ALPINE-CVE-2018-19788
Alpinev3.8, v3.9polkit0.105-r9ALPINE-CVE-2018-19788

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue affects the versions of polkit as shipped with Red Hat Enterprise Linux 6 and 7.

Red Hat Enterprise Linux 6 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This has been rated as having a security impact of Moderate, and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

This issue affects the versions of polkit as shipped with Red Hat Virtualization 4. System users beyond those created at installation time are typically not used in Red Hat Virtualization Hypervisor or Management Appliance hosts, nor is there any opportunity to accidentally or maliciously create a user with a dangerous uid/gid on these systems under normal operation. For Red Hat Virtualization, this vulnerability has been rated as having a security impact of Low. Future updates may address this issue.

Red Hat's mitigation

Do not allow negative UIDs or UIDs greater than 2147483647.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7polkit-0:0.112-22.el7Fixed 2019-08-06RHSA-2019:2046
Red Hat Enterprise Linux 7.6 Extended Update Supportpolkit-0:0.112-18.el7_6.2Fixed 2019-10-29RHSA-2019:3232
Red Hat Enterprise Linux 6polkitWill not fix
Red Hat Enterprise Linux 8polkitNot affected
Red Hat Virtualization 4redhat-virtualization-hostWill not fix
Red Hat Virtualization 4rhvm-applianceWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-19788.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON