Gentoo Archives: gentoo-announce

From: Aaron Bauman <bman@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 201710-07 ] OCaml: Privilege escalation
Date: Sun, 08 Oct 2017 14:06:26
Message-Id: 13965239.674BGFXIn4@localhost.localdomain
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 201710-07
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 https://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: High
8 Title: OCaml: Privilege escalation
9 Date: October 08, 2017
10 Bugs: #622544
11 ID: 201710-07
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A vulnerability in OCaml may allow local users to gain root privileges.
19
20 Background
21 ==========
22
23 OCaml is a high-level, strongly-typed, functional, and object-oriented
24 programming language from the ML family of languages.
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 dev-lang/ocaml < 4.04.2 >= 4.04.2
33
34 Description
35 ===========
36
37 A bad sanitization of environment variables: CAML_CPLUGINS,
38 CAML_NATIVE_CPLUGINS and CAML_BYTE_CPLUGINS in the OCaml compiler
39 allows the execution of raised privileges via external code.
40
41 Impact
42 ======
43
44 A local attacker, by using specially crafted environment variables,
45 could possibly escalate privileges to the root group.
46
47 Workaround
48 ==========
49
50 There is no known workaround at this time.
51
52 Resolution
53 ==========
54
55 All OCaml users should upgrade to the latest version:
56
57 # emerge --sync
58 # emerge --ask --oneshot --verbose ">=dev-lang/ocaml-4.04.2"
59
60 References
61 ==========
62
63 [ 1 ] CVE-2017-9772
64 https://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-9772
65
66 Availability
67 ============
68
69 This GLSA and any updates to it are available for viewing at
70 the Gentoo Security Website:
71
72 https://security.gentoo.org/glsa/201710-07
73
74 Concerns?
75 =========
76
77 Security is a primary focus of Gentoo Linux and ensuring the
78 confidentiality and security of our users' machines is of utmost
79 importance to us. Any security concerns should be addressed to
80 security@g.o or alternatively, you may file a bug at
81 https://bugs.gentoo.org.
82
83 License
84 =======
85
86 Copyright 2017 Gentoo Foundation, Inc; referenced text
87 belongs to its owner(s).
88
89 The contents of this document are licensed under the
90 Creative Commons - Attribution / Share Alike license.
91
92 http://creativecommons.org/licenses/by-sa/2.5

Attachments

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