Gentoo Archives: gentoo-announce

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 202003-24 ] file: Heap-based buffer overflow
Date: Sun, 15 Mar 2020 14:37:37
Message-Id: 7c8c6ecf-e2c7-c196-224e-5e340904422c@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 202003-24
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 https://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: file: Heap-based buffer overflow
9 Date: March 15, 2020
10 Bugs: #698610
11 ID: 202003-24
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A heap-based buffer overflow in file might allow remote attackers to
19 execute 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.37-r1 >= 5.37-r1
34
35 Description
36 ===========
37
38 It was discovered that file incorrectly handled certain malformed
39 files.
40
41 Impact
42 ======
43
44 A remote attacker could entice a user to process a specially crafted
45 file via libmagic or file, possibly resulting in execution of arbitrary
46 code with the privileges of the process or a Denial of Service
47 condition.
48
49 Workaround
50 ==========
51
52 There is no known workaround at this time.
53
54 Resolution
55 ==========
56
57 All file users should upgrade to the latest version:
58
59 # emerge --sync
60 # emerge --ask --oneshot --verbose ">=sys-apps/file-5.37-r1"
61
62 References
63 ==========
64
65 [ 1 ] CVE-2019-18218
66 https://nvd.nist.gov/vuln/detail/CVE-2019-18218
67
68 Availability
69 ============
70
71 This GLSA and any updates to it are available for viewing at
72 the Gentoo Security Website:
73
74 https://security.gentoo.org/glsa/202003-24
75
76 Concerns?
77 =========
78
79 Security is a primary focus of Gentoo Linux and ensuring the
80 confidentiality and security of our users' machines is of utmost
81 importance to us. Any security concerns should be addressed to
82 security@g.o or alternatively, you may file a bug at
83 https://bugs.gentoo.org.
84
85 License
86 =======
87
88 Copyright 2020 Gentoo Foundation, Inc; referenced text
89 belongs to its owner(s).
90
91 The contents of this document are licensed under the
92 Creative Commons - Attribution / Share Alike license.
93
94 https://creativecommons.org/licenses/by-sa/2.5

Attachments

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