cve.bz

CVE-2018-1000199

5.5 mediumEPSS 1.2%Fix available

Medium (5.5). EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
The Linux Kernel version 3.18 contains a dangerous feature vulnerability in modify_user_hw_breakpoint() that can result in crash and possibly memory corruption. This attack appear to be exploitable via local code execution and the ability to use ptrace. This vulnerability appears to have been fixed in git commit f67b15037a7a50c57f72e69a6d59941ad90a0f0f.

Severity

CVSS 3.0

5.5 medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 69th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
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-1000199 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1000199?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1000199?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-1000199 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
debian:debian_linux7.0
debian:debian_linux8.0
debian:debian_linux9.0
linux:linux_kernel3.18
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10
redhat:enterprise_linux7.0
redhat:enterprise_linux7.2
redhat:enterprise_linux7.3
redhat:enterprise_linux7.4
redhat:enterprise_linux7.5
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus7.2
redhat:enterprise_linux_server_aus7.3
redhat:enterprise_linux_server_aus7.4
redhat:enterprise_linux_server_eus7.3
redhat:enterprise_linux_server_eus7.4
redhat:enterprise_linux_server_eus7.5
redhat:enterprise_linux_server_tus7.2
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7linux3.2.101-1DLA-1369-1
Debian8linux3.16.56-1DSA-4187-1
Debian9linux4.9.88-1DSA-4188-1
Debian12, 13, 14linux4.15.17-1DEBIAN-CVE-2018-1000199
Ubuntu14.04:LTSlinux3.13.0-147.196UBUNTU-CVE-2018-1000199 USN-3641-1
Ubuntu14.04:LTSlinux-aws4.4.0-1019.19UBUNTU-CVE-2018-1000199 USN-3641-1
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-124.148~14.04.1UBUNTU-CVE-2018-1000199 USN-3641-1
Ubuntu16.04:LTSlinux4.4.0-124.148UBUNTU-CVE-2018-1000199 USN-3641-1
Ubuntu16.04:LTSlinux-aws4.4.0-1057.66UBUNTU-CVE-2018-1000199 USN-3641-1
Ubuntu16.04:LTSlinux-azure4.13.0-1016.19UBUNTU-CVE-2018-1000199 USN-3641-1
Ubuntu16.04:LTSlinux-euclid4.4.0-9027.29UBUNTU-CVE-2018-1000199 USN-3641-1
Ubuntu16.04:LTSlinux-gcp4.13.0-1015.19UBUNTU-CVE-2018-1000199 USN-3641-1
Ubuntu16.04:LTSlinux-hwe4.13.0-41.46~16.04.1UBUNTU-CVE-2018-1000199 USN-3641-1
Ubuntu16.04:LTSlinux-kvm4.4.0-1023.28UBUNTU-CVE-2018-1000199 USN-3641-1
Ubuntu16.04:LTSlinux-oem4.13.0-1026.29UBUNTU-CVE-2018-1000199 USN-3641-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1089.97UBUNTU-CVE-2018-1000199 USN-3641-1
5 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationperf, kernel, kernel-doc and 15 more0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hatenterprise_linux:7::serverperf, kernel, kernel-alt and 22 more0:4.14.0-49.2.2.el7aRHSA-2018:1374
Red Hatenterprise_linux:7::serverperf, kernel, kernel-doc and 22 more0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hatenterprise_mrg:2:server:el6kernel-rt, kernel-rt-doc, kernel-rt-debug and 12 more1:3.10.0-693.25.4.rt56.613.el6rtRHSA-2018:1354
Red Hatrhel_aus:7.2::server, rhel_e4s:7.2::server, rhel_tus:7.2::serverperf, kernel, kernel-doc and 15 more0:3.10.0-327.66.3.el7RHSA-2018:1347
Red Hatrhel_eus:7.3::computenodeperf, kernel, kernel-doc and 15 more0:3.10.0-514.48.3.el7RHSA-2018:1348
Red Hatrhel_eus:7.3::serverperf, kernel, kernel-doc and 22 more0:3.10.0-514.48.3.el7RHSA-2018:1348
Red Hatrhel_eus:7.4::computenodeperf, kernel, kernel-doc and 15 more0:3.10.0-693.25.4.el7RHSA-2018:1345
Red Hatrhel_eus:7.4::serverperf, kernel, kernel-doc and 22 more0:3.10.0-693.25.4.el7RHSA-2018:1345
Red Hatrhel_extras_rt:7kernel-rt, kernel-rt-doc, kernel-rt-kvm and 14 more0:3.10.0-862.2.3.rt56.806.el7RHSA-2018:1355
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morekernel-syms, kernel-source, kernel-default4.4.121-92.85.1SUSE-SU-2018:1855-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morekgraft-patch-SLE12-SP2_Update_231-3.5.1SUSE-SU-2018:1855-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3kernel-syms, kernel-source, kernel-default4.4.131-94.29.1SUSE-SU-2018:1366-1
SUSELinux Enterprise High Availability Extension 12 SP3, Linux Enterprise Workstation Extension 12 SP3kernel-default4.4.131-94.29.1SUSE-SU-2018:1366-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4, Linux Enterprise Workstation Extension 12 SP4kernel-default4.12.14-95.54.1SUSE-SU-2020:1605-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.23.1SUSE-SU-2020:1602-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15kernel-default4.12.14-150.52.1SUSE-SU-2020:1663-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1, Linux Enterprise Module for Legacy 15 SP1 and 1 morekernel-default4.12.14-197.45.1SUSE-SU-2020:1599-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server for SAP Applications 15kernel-docs, kernel-syms, kernel-source and 3 more4.12.14-150.52.1SUSE-SU-2020:1663-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_18-2.2SUSE-SU-2018:1270-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_102-2.2SUSE-SU-2018:1225-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_112-2.2SUSE-SU-2018:1246-1
107 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.1kernel-docs4.12.14-lp151.28.52.2openSUSE-SU-2020:0801-1
openSUSELeap 15.1kernel-obs-qa, kernel-obs-build4.12.14-lp151.28.52.3openSUSE-SU-2020:0801-1
openSUSELeap 15.1kernel-syms, kernel-debug, kernel-source and 3 more4.12.14-lp151.28.52.1openSUSE-SU-2020:0801-1

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue does not affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 5 and Red Hat Enterprise Linux 6.

This issue affects the version of the kernel package as shipped with Red Hat Enterprise Linux 7 and Red Hat Enterprise MRG 2. Future kernel updates for Red Hat Enterprise Linux 7 and Red Hat Enterprise MRG 2 may address this issue.

Red Hat's mitigation

To mitigate this issue:

1) Save the following script in a 'CVE-2018-1000199.stp' file.

---

probe kernel.function("ptrace_set_debugreg") {

if ($n < 4)

$n = 4; /* set invalid debug register #, returns -EIO */

}

probe begin {

printk(0, "CVE-2018-1000199 mitigation loaded")

}

probe end {

printk(0, "CVE-2018-1000199 mitigation unloaded")

}

---

2) Install systemtap package and its dependencies

# yum install -y systemtap systemtap-runtime

# yum install -y kernel-devel kernel-debuginfo kernel-debuginfo-common

3) Build the mitigation kernel module as root.

# stap -r `uname -r` -m cve_2018_1000199.ko -g CVE-2018-1000199.stp -p4

4) Load the mitigation module as root

# staprun -L cve_2018_1000199.ko

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-862.2.3.rt56.806.el7Fixed 2018-05-08RHSA-2018:1355
Red Hat Enterprise Linux 7kernel-0:3.10.0-862.2.3.el7Fixed 2018-05-08RHSA-2018:1318
Red Hat Enterprise Linux 7kernel-alt-0:4.14.0-49.2.2.el7aFixed 2018-05-14RHSA-2018:1374
Red Hat Enterprise Linux 7.2 Advanced Update Supportkernel-0:3.10.0-327.66.3.el7Fixed 2018-05-08RHSA-2018:1347
Red Hat Enterprise Linux 7.2 Telco Extended Update Supportkernel-0:3.10.0-327.66.3.el7Fixed 2018-05-08RHSA-2018:1347
Red Hat Enterprise Linux 7.2 Update Services for SAP Solutionskernel-0:3.10.0-327.66.3.el7Fixed 2018-05-08RHSA-2018:1347
Red Hat Enterprise Linux 7.3 Extended Update Supportkernel-0:3.10.0-514.48.3.el7Fixed 2018-05-08RHSA-2018:1348
Red Hat Enterprise Linux 7.4 Extended Update Supportkernel-0:3.10.0-693.25.4.el7Fixed 2018-05-08RHSA-2018:1345
Red Hat Enterprise MRG 2kernel-rt-1:3.10.0-693.25.4.rt56.613.el6rtFixed 2018-05-08RHSA-2018:1354
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 8kernelNot affected

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-1000199.

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-119 (12).

References

Check your stackJSON