GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Sun Oct 08, 2017 7:26 pm Post subject: [ GLSA 201710-07 ] OCaml |
|
|
Gentoo Linux Security Advisory
Title: OCaml: Privilege escalation (GLSA 201710-07)
Severity: high
Exploitable: remote
Date: 2017-10-08
Bug(s): #622544
ID: 201710-07
Synopsis
A vulnerability in OCaml may allow local users to gain root
privileges.
Background
OCaml is a high-level, strongly-typed, functional, and object-oriented
programming language from the ML family of languages.
Affected Packages
Package: dev-lang/ocaml
Vulnerable: < 4.04.2
Unaffected: >= 4.04.2
Architectures: All supported architectures
Description
A bad sanitization of environment variables: CAML_CPLUGINS,
CAML_NATIVE_CPLUGINS and CAML_BYTE_CPLUGINS in the OCaml compiler allows
the execution of raised privileges via external code.
Impact
A local attacker, by using specially crafted environment variables,
could possibly escalate privileges to the root group.
Workaround
There is no known workaround at this time.
Resolution
All OCaml users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/ocaml-4.04.2"
|
References
CVE-2017-9772
|
|