portage-ng / portage / sys-block / blktrace / 1.3.0-r1
portage-ng glsa
1 advisory reference sys-block/blktrace · none place version 1.3.0-r1 in a vulnerable range
▸ GLSA 202107-15 blktrace: Buffer overflow this version unaffected normal local, remote 2021-07-08

A buffer overflow in blktrace might allow arbitrary code execution.

Announced
2021-07-08
Revised
2021-07-08
Access
local, remote
Bugs
#655146
Advisory
https://security.gentoo.org/glsa/202107-15

Affected packages

PackageArchVulnerableUnaffected
sys-block/blktrace*< 1.2.0_p20210419122502>= 1.2.0_p20210419122502

Background

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

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 --ask --oneshot --verbose
">=sys-block/blktrace-1.2.0_p20210419122502"

References