OSEC-2017-01

    Dashboard / Vulnerabilities / OSEC-2017-01

    OSEC-2017-01

    Published: 23 Jun 2017Last Modified: 17 Feb 2026
    Aliases:

    Summary: Local privilege escalation issue with ocaml binaries

    Details: ## Description Insufficient sanitisation in the OCaml compiler versions 4.04.0 and 4.04.1 allows external code to be executed with raised privilege in binaries marked as setuid, by setting the CAML_CPLUGINS, CAML_NATIVE_CPLUGINS, or CAML_BYTE_CPLUGINS environment variable.

    Affected packages

    Package

    Name: ocaml

    Purl: pkg:opam/ocaml

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 4.04
    Fixed -4.04.2

    Affected versions

    4.04.0
    4.04.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High