Gentoo 2509 Published by

A blktrace security update has been released for Gentoo Linux.



GLSA 202107-15 : blktrace: Buffer overflow


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 202107-15
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: blktrace: Buffer overflow
Date: July 08, 2021
Bugs: #655146
ID: 202107-15

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A buffer overflow in blktrace might allow arbitrary code execution.

Background
==========

blktrace shows detailed information about what is happening on a block
device IO queue.

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 sys-block/blktrace < 1.2.0_p20210419122502>= 1.2.0_p20210419122502

Description
===========

A crafted file could cause a buffer overflow in the 'dev_map_read'
function because the device and devno arrays are too small.

Impact
======

A remote attacker could entice a user to open a specially crafted file
using blktrace, possibly resulting in execution of arbitrary code with
the privileges of the process or a Denial of Service condition.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All blktrace users should upgrade to the latest version:

# emerge --sync
# emerge -a --oneshot -v ">=sys-block/blktrace-1.2.0_p20210419122502"

References
==========

[ 1 ] CVE-2018-10689
  https://nvd.nist.gov/vuln/detail/CVE-2018-10689

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  https://security.gentoo.org/glsa/202107-15

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
  https://bugs.gentoo.org.

License
=======

Copyright 2021 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

  https://creativecommons.org/licenses/by-sa/2.5