Gentoo Archives: gentoo-announce

From: Raphael Marichez <falco@g.o>
To: gentoo-announce@g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200705-25 ] file: Integer overflow
Date: Thu, 31 May 2007 18:55:11
Message-Id: 20070531183040.GB15467@falco.falcal.net
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200705-25
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: High
8 Title: file: Integer overflow
9 Date: May 31, 2007
10 Bugs: #179583
11 ID: 200705-25
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 An integer overflow vulnerability has been reported in file allowing
19 for the user-assisted execution of arbitrary code.
20
21 Background
22 ==========
23
24 file is a utility that guesses a file format by scanning binary data
25 for patterns.
26
27 Affected packages
28 =================
29
30 -------------------------------------------------------------------
31 Package / Vulnerable / Unaffected
32 -------------------------------------------------------------------
33 1 sys-apps/file < 4.21 >= 4.21
34 -------------------------------------------------------------------
35 # Package 1 only applies to x86, PPC and HPPA users.
36
37 Description
38 ===========
39
40 Colin Percival from FreeBSD reported that the previous fix for the
41 file_printf() buffer overflow introduced a new integer overflow.
42
43 Impact
44 ======
45
46 A remote attacker could entice a user to run the file program on an
47 overly large file (more than 1Gb) that would trigger an integer
48 overflow on 32-bit systems, possibly leading to the execution of
49 arbitrary code with the rights of the user running file.
50
51 Workaround
52 ==========
53
54 There is no known workaround at this time.
55
56 Resolution
57 ==========
58
59 Since file is a system package, all Gentoo users should upgrade to the
60 latest version:
61
62 # emerge --sync
63 # emerge --ask --oneshot --verbose ">=sys-apps/file-4.21"
64
65 References
66 ==========
67
68 [ 1 ] CVE-2007-2799
69 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2799
70
71 Availability
72 ============
73
74 This GLSA and any updates to it are available for viewing at
75 the Gentoo Security Website:
76
77 http://security.gentoo.org/glsa/glsa-200705-25.xml
78
79 Concerns?
80 =========
81
82 Security is a primary focus of Gentoo Linux and ensuring the
83 confidentiality and security of our users machines is of utmost
84 importance to us. Any security concerns should be addressed to
85 security@g.o or alternatively, you may file a bug at
86 http://bugs.gentoo.org.
87
88 License
89 =======
90
91 Copyright 2007 Gentoo Foundation, Inc; referenced text
92 belongs to its owner(s).
93
94 The contents of this document are licensed under the
95 Creative Commons - Attribution / Share Alike license.
96
97 http://creativecommons.org/licenses/by-sa/2.5