Buffer Overflow Affecting blktrace package, versions <0:1.0.5-9.el7


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.18% (56th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-BLKTRACE-4880180
  • published26 Jul 2021
  • disclosed2 May 2018

Introduced: 2 May 2018

CVE-2018-10689  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade RHEL:7 blktrace to version 0:1.0.5-9.el7 or higher.
This issue was patched in RHSA-2019:2162.

NVD Description

Note: Versions mentioned in the description apply only to the upstream blktrace package and not the blktrace package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.