Gentoo Archives: gentoo-announce

From: Aaron Bauman <bman@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 201709-07 ] Kpathsea: User-assisted execution of arbitrary code
Date: Sun, 17 Sep 2017 15:51:48
Message-Id: 1872610.65Q8ciIcPj@localhost.localdomain
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 201709-07
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 https://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: Kpathsea: User-assisted execution of arbitrary code
9 Date: September 17, 2017
10 Bugs: #612328
11 ID: 201709-07
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A vulnerability in Kpathsea allows remote attackers to execute
19 arbitrary commands by manipulating the -tex option from mpost program.
20
21 Background
22 ==========
23
24 Kpathsea is a library to do path searching. It is used by TeX Live and
25 others TeX related software.
26
27 Affected packages
28 =================
29
30 -------------------------------------------------------------------
31 Package / Vulnerable / Unaffected
32 -------------------------------------------------------------------
33 1 dev-libs/kpathsea < 6.2.2_p20160523 >= 6.2.2_p20160523
34
35 Description
36 ===========
37
38 It was discovered that the mpost program from the shell_escape_commands
39 list is capable of executing arbitrary external programs during the
40 conversion of .tex files. The responsible function is runpopen()
41 (texmfmp.c).
42
43 Impact
44 ======
45
46 A remote attacker, by enticing a user to open a specially crafted .tex
47 file, could possibly execute arbitrary code with the privileges of the
48 process.
49
50 Workaround
51 ==========
52
53 There is no known workaround at this time.
54
55 Resolution
56 ==========
57
58 All Kpathsea users should upgrade to the latest version:
59
60 # emerge --sync
61 # emerge --ask --oneshot -v ">=dev-libs/kpathsea-6.2.2_p20160523"
62
63 Packages which depend on this library may need to be recompiled. Tools
64 such as revdep-rebuild may assist in identifying some of these
65 packages.
66
67 References
68 ==========
69
70 [ 1 ] CVE-2016-10243
71 https://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-10243
72
73 Availability
74 ============
75
76 This GLSA and any updates to it are available for viewing at
77 the Gentoo Security Website:
78
79 https://security.gentoo.org/glsa/201709-07
80
81 Concerns?
82 =========
83
84 Security is a primary focus of Gentoo Linux and ensuring the
85 confidentiality and security of our users' machines is of utmost
86 importance to us. Any security concerns should be addressed to
87 security@g.o or alternatively, you may file a bug at
88 https://bugs.gentoo.org.
89
90 License
91 =======
92
93 Copyright 2017 Gentoo Foundation, Inc; referenced text
94 belongs to its owner(s).
95
96 The contents of this document are licensed under the
97 Creative Commons - Attribution / Share Alike license.
98
99 http://creativecommons.org/licenses/by-sa/2.5

Attachments

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