OCaml is a high-level, strongly-typed, functional, and object-oriented programming language from the ML family of languages.
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.
A local attacker, by using specially crafted environment variables, could possibly escalate privileges to the root group.
There is no known workaround at this time.
All OCaml users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/ocaml-4.04.2"