Gentoo Logo

E2fsprogs: Multiple buffer overflows


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200712-13 / e2fsprogs
Release Date December 18, 2007
Latest Revision December 18, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
sys-fs/e2fsprogs < 1.40.3 >= 1.40.3 All supported architectures

Related bugreports: #201546


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

2.  Impact Information


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.


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.


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.

3.  Resolution Information


There is no known workaround at this time.


All E2fsprogs users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References


Page updated December 18, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.