Inria · Ocaml Compiler · CVE-2017-9772
**Name of the Vulnerable Software and Affected Versions**
OCaml compiler versions 4.04.0 through 4.04.1
**Description**
The issue is related to insufficient sanitisation in the OCaml compiler, which allows external code to be executed with raised privilege in binaries marked as setuid. This can be achieved by setting the `CAML CPLUGINS`, `CAML NATIVE CPLUGINS`, or `CAML BYTE CPLUGINS` environment variable.
**Recommendations**
For OCaml compiler version 4.04.0, update to a version that includes the necessary security fixes.
For OCaml compiler version 4.04.1, update to a version that includes the necessary security fixes.
As a temporary workaround, consider restricting the setting of the `CAML CPLUGINS`, `CAML NATIVE CPLUGINS`, and `CAML BYTE CPLUGINS` environment variables to minimize the risk of exploitation.