E2fsprogs: Multiple buffer overflows — GLSA 200712-13

Multiple heap-based buffer overflows in E2fsprogs could result in the execution of arbitrary code.

Affected Packages

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

Background

E2fsprogs provides utilities for use with the ext2 and ext3 file systems including the libext2fs library that allows user-level programs to manipulate an ext2 or ext3 file system.

Description

Rafal Wojtczuk (McAfee AVERT Research) discovered multiple integer overflows in libext2fs, that are triggered when processing information from within the file system, resulting in heap-based buffer overflows.

Impact

An attacker could entice a user to process a specially-crafted ext2 or ext3 file system image (with tools linking against libext2fs, e.g. fsck, forensic tools or Xen's pygrub), possibly resulting in the execution of arbitrary code with the privileges of the user running the application.

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.40.3"

References

Release Date
December 18, 2007

Latest Revision
December 18, 2007: 01

Severity
normal

Exploitable
remote

Bugzilla entries