e2fsprogs: Heap-based buffer overflow — GLSA 201701-06

A heap-based buffer overflow in e2fsprogs might allow local attackers to execute arbitrary code.

Affected packages

sys-fs/e2fsprogs on all architectures
Affected versions < 1.42.12
Unaffected versions >= 1.42.12

Background

e2fsprogs is a set of utilities for maintaining the ext2, ext3 and ext4 file systems.

Description

A heap-based buffer overflow was discovered in openfs.c in the libext2fs library in e2fsprogs.

Impact

A remote attacker could entice a user to use ext2fs library (for example, fsck) on a specially crafted Ext2/3/4 file system possibly resulting in the 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 e2fsprogs users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=sys-fs/e2fsprogs-1.42.12"
 

References

Release date
January 01, 2017

Latest revision
January 01, 2017: 1

Severity
normal

Exploitable
local, remote

Bugzilla entries