Gentoo Archives: gentoo-announce

From: Aaron Bauman <bman@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 201710-02 ] file: Stack-based buffer overflow
Date: Sun, 08 Oct 2017 13:27:54
Message-Id: 5653122.o6k6yAycAn@localhost.localdomain
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 201710-02
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 https://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: file: Stack-based buffer overflow
9 Date: October 08, 2017
10 Bugs: #629872
11 ID: 201710-02
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A stack-based buffer overflow was found in file, possibly resulting in
19 the 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 < 5.32 >= 5.32
34
35 Description
36 ===========
37
38 An issue discovered in file allows attackers to write 20 bytes to the
39 stack buffer via a specially crafted .notes section.
40
41 Impact
42 ======
43
44 A remote attacker, by using a specially crafted .notes section in an
45 ELF binary, could execute arbitrary code or cause a Denial of Service
46 condition.
47
48 Workaround
49 ==========
50
51 There is no known workaround at this time.
52
53 Resolution
54 ==========
55
56 All file users should upgrade to the latest version:
57
58 # emerge --sync
59 # emerge --ask --oneshot --verbose ">=sys-apps/file-5.32"
60
61 References
62 ==========
63
64 [ 1 ] CVE-2017-1000249
65 https://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-1000249
66
67 Availability
68 ============
69
70 This GLSA and any updates to it are available for viewing at
71 the Gentoo Security Website:
72
73 https://security.gentoo.org/glsa/201710-02
74
75 Concerns?
76 =========
77
78 Security is a primary focus of Gentoo Linux and ensuring the
79 confidentiality and security of our users' machines is of utmost
80 importance to us. Any security concerns should be addressed to
81 security@g.o or alternatively, you may file a bug at
82 https://bugs.gentoo.org.
83
84 License
85 =======
86
87 Copyright 2017 Gentoo Foundation, Inc; referenced text
88 belongs to its owner(s).
89
90 The contents of this document are licensed under the
91 Creative Commons - Attribution / Share Alike license.
92
93 http://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature