osec-2017-01
Vulnerability from osv_ocaml
Published
2017-06-23 15:19
Modified
2025-12-16 12:00
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.

Credits
Eric Milliken
Damien Doligez
Xavier Leroy

{
  "affected": [
    {
      "ecosystem_specific": {
        "opam_constraint": "ocaml {\u003e= \"4.04\" \u0026 \u003c \"4.04.2\"}"
      },
      "package": {
        "ecosystem": "opam",
        "name": "ocaml",
        "purl": "pkg:opam/ocaml"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.04"
            },
            {
              "fixed": "4.04.2"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "fixed": "850021c200c7507f2a928a66fa1291ff4ae3a622"
            },
            {
              "introduced": "507507829e9639374ede5a2dade1bb6d6b98ad49"
            }
          ],
          "repo": "https://github.com/ocaml/ocaml",
          "type": "GIT"
        }
      ],
      "versions": [
        "4.04.0",
        "4.04.1"
      ]
    }
  ],
  "aliases": [
    "CVE-2017-9772"
  ],
  "credits": [
    {
      "name": "Eric Milliken",
      "type": "REPORTER"
    },
    {
      "name": "Damien Doligez",
      "type": "REMEDIATION_DEVELOPER"
    },
    {
      "name": "Xavier Leroy",
      "type": "REMEDIATION_REVIEWER"
    }
  ],
  "database_specific": {
    "cwe": [
      "CWE-269"
    ],
    "human_link": "https://github.com/ocaml/security-advisories/tree/main/advisories/2017/OSEC-2017-01.md",
    "osv": "https://github.com/ocaml/security-advisories/tree/generated-osv/2017/OSEC-2017-01.json"
  },
  "details": "## Description\n\nInsufficient 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.",
  "id": "OSEC-2017-01",
  "modified": "2025-12-16T12:00:00Z",
  "published": "2017-06-23T15:19:47Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/ocaml/ocaml/issues/7557"
    }
  ],
  "schema_version": "1.7.4",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Local privilege escalation issue with ocaml binaries"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…