CVE-2018-10689 Memory corruption in n/a

Medium 5.5 Published Updated

A buffer overflow in blktrace allows attackers to execute arbitrary code or cause denial of service via a crafted file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-10689?

CVE-2018-10689 is a medium-severity memory corruption vulnerability in n/a, published on 3 May 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

blktrace (aka Block IO Tracing) 1.2.0, as used with the Linux kernel and Android, has a buffer overflow in the dev_map_read function in btt/devmap.c because the device and devno arrays are too small, as demonstrated by an invalid free when using the btt program with a crafted file.

Weakness: CWE-119

Which versions are affected by CVE-2018-10689?

It affects 1 product.

Linux distribution packages (12)
blktrace Red Hat:enterprise_linux:7::clientAll versions0:1.0.5-9.el7
blktrace-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:1.0.5-9.el7
blktrace Red Hat:enterprise_linux:7::computenodeAll versions0:1.0.5-9.el7
blktrace-debuginfo Red Hat:enterprise_linux:7::computenodeAll versions0:1.0.5-9.el7
blktrace Red Hat:enterprise_linux:7::serverAll versions0:1.0.5-9.el7
blktrace-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:1.0.5-9.el7
blktrace Red Hat:enterprise_linux:7::workstationAll versions0:1.0.5-9.el7
blktrace-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:1.0.5-9.el7
blktrace SUSE:Linux Enterprise Module for Development Tools 15All versions1.1.0+git.20170126-3.3.28
blktrace SUSE:Linux Enterprise Server 12 SP5All versions1.0.5-8.5.74
blktrace SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions1.0.5-8.5.74
blktrace openSUSE:Leap 15.0All versions1.1.0+git.20170126-lp150.2.3.1

Products include Blktrace Project Blktrace.

How do I fix CVE-2018-10689?

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-10689 being exploited?

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

Sources

Also known as AZL-6328, DEBIAN-CVE-2018-10689, GHSA-pr22-23wp-22hm, RHSA-2019:2162, SUSE-SU-2019:0919-1, SUSE-SU-2020:2942-1 and 2 more.

Is CVE-2018-10689 in your software?

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

Check your SBOMs for free