1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200703-26 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: High |
8 |
Title: file: Integer underflow |
9 |
Date: March 30, 2007 |
10 |
Bugs: #171452 |
11 |
ID: 200703-26 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
A buffer underflow vulnerability has been reported in file allowing for |
19 |
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.20 >= 4.20 |
34 |
|
35 |
Description |
36 |
=========== |
37 |
|
38 |
Jean-Sébastien Guay-Leroux reported an integer underflow in |
39 |
file_printf function. |
40 |
|
41 |
Impact |
42 |
====== |
43 |
|
44 |
A remote attacker could entice a user to run the "file" program on a |
45 |
specially crafted file that would trigger a heap-based buffer overflow |
46 |
possibly leading to the execution of arbitrary code with the rights of |
47 |
the user running "file". Note that this vulnerability could be also |
48 |
triggered through an automatic file scanner like amavisd-new. |
49 |
|
50 |
Workaround |
51 |
========== |
52 |
|
53 |
There is no known workaround at this time. |
54 |
|
55 |
Resolution |
56 |
========== |
57 |
|
58 |
Since file is a system package, all Gentoo users should upgrade to the |
59 |
latest version: |
60 |
|
61 |
# emerge --sync |
62 |
# emerge --ask --oneshot --verbose ">=sys-apps/file-4.20" |
63 |
|
64 |
References |
65 |
========== |
66 |
|
67 |
[ 1 ] CVE-2007-1536 |
68 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1536 |
69 |
|
70 |
Availability |
71 |
============ |
72 |
|
73 |
This GLSA and any updates to it are available for viewing at |
74 |
the Gentoo Security Website: |
75 |
|
76 |
http://security.gentoo.org/glsa/glsa-200703-26.xml |
77 |
|
78 |
Concerns? |
79 |
========= |
80 |
|
81 |
Security is a primary focus of Gentoo Linux and ensuring the |
82 |
confidentiality and security of our users machines is of utmost |
83 |
importance to us. Any security concerns should be addressed to |
84 |
security@g.o or alternatively, you may file a bug at |
85 |
http://bugs.gentoo.org. |
86 |
|
87 |
License |
88 |
======= |
89 |
|
90 |
Copyright 2007 Gentoo Foundation, Inc; referenced text |
91 |
belongs to its owner(s). |
92 |
|
93 |
The contents of this document are licensed under the |
94 |
Creative Commons - Attribution / Share Alike license. |
95 |
|
96 |
http://creativecommons.org/licenses/by-sa/2.5 |