CVE-2018-18445 Memory corruption in n/a

High 7.8 Published Updated

Faulty BPF verifier bounds checking allows out-of-bounds memory access, potentially enabling code execution or privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2018-18445?

CVE-2018-18445 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 17 Oct 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel 4.14.x, 4.15.x, 4.16.x, 4.17.x, and 4.18.x before 4.18.13, faulty computation of numeric bounds in the BPF verifier permits out-of-bounds memory accesses because adjust_scalar_min_max_vals in kernel/bpf/verifier.c mishandles 32-bit right shifts.

Weakness: CWE-125

Which versions are affected by CVE-2018-18445?

It affects 8 products.

Products include Canonical Ubuntu Linux, Linux kernel, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus, Redhat Enterprise Linux Server Eus and 2 more.

How do I fix CVE-2018-18445?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-18445 being exploited?

There is no known exploitation of CVE-2018-18445 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-18445, GHSA-c3vm-qh5c-27gq, UBUNTU-CVE-2018-18445.

Is CVE-2018-18445 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free