ubuntu-cve-2017-9772
Vulnerability from osv_ubuntu
Published
2017-06-23 20:29
Modified
2025-07-16 04:52
Summary
Details

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.

Severity

{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "camlp4",
            "binary_version": "4.01.0-3ubuntu3"
          },
          {
            "binary_name": "camlp4-extra",
            "binary_version": "4.01.0-3ubuntu3"
          },
          {
            "binary_name": "ocaml",
            "binary_version": "4.01.0-3ubuntu3"
          },
          {
            "binary_name": "ocaml-base",
            "binary_version": "4.01.0-3ubuntu3"
          },
          {
            "binary_name": "ocaml-base-nox",
            "binary_version": "4.01.0-3ubuntu3"
          },
          {
            "binary_name": "ocaml-compiler-libs",
            "binary_version": "4.01.0-3ubuntu3"
          },
          {
            "binary_name": "ocaml-interp",
            "binary_version": "4.01.0-3ubuntu3"
          },
          {
            "binary_name": "ocaml-mode",
            "binary_version": "4.01.0-3ubuntu3"
          },
          {
            "binary_name": "ocaml-native-compilers",
            "binary_version": "4.01.0-3ubuntu3"
          },
          {
            "binary_name": "ocaml-nox",
            "binary_version": "4.01.0-3ubuntu3"
          },
          {
            "binary_name": "ocaml-source",
            "binary_version": "4.01.0-3ubuntu3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "ocaml",
        "purl": "pkg:deb/ubuntu/ocaml@4.01.0-3ubuntu3?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.01.0-3ubuntu3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.12.1-4ubuntu1",
        "4.01.0-3ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ocaml",
            "binary_version": "4.02.3-5ubuntu2"
          },
          {
            "binary_name": "ocaml-base",
            "binary_version": "4.02.3-5ubuntu2"
          },
          {
            "binary_name": "ocaml-base-dbgsym",
            "binary_version": "4.02.3-5ubuntu2"
          },
          {
            "binary_name": "ocaml-base-nox",
            "binary_version": "4.02.3-5ubuntu2"
          },
          {
            "binary_name": "ocaml-base-nox-dbgsym",
            "binary_version": "4.02.3-5ubuntu2"
          },
          {
            "binary_name": "ocaml-compiler-libs",
            "binary_version": "4.02.3-5ubuntu2"
          },
          {
            "binary_name": "ocaml-interp",
            "binary_version": "4.02.3-5ubuntu2"
          },
          {
            "binary_name": "ocaml-mode",
            "binary_version": "4.02.3-5ubuntu2"
          },
          {
            "binary_name": "ocaml-native-compilers",
            "binary_version": "4.02.3-5ubuntu2"
          },
          {
            "binary_name": "ocaml-native-compilers-dbgsym",
            "binary_version": "4.02.3-5ubuntu2"
          },
          {
            "binary_name": "ocaml-nox",
            "binary_version": "4.02.3-5ubuntu2"
          },
          {
            "binary_name": "ocaml-nox-dbgsym",
            "binary_version": "4.02.3-5ubuntu2"
          },
          {
            "binary_name": "ocaml-source",
            "binary_version": "4.02.3-5ubuntu2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "ocaml",
        "purl": "pkg:deb/ubuntu/ocaml@4.02.3-5ubuntu2?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.02.3-5ubuntu2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.01.0-4ubuntu1",
        "4.02.3-5ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ocaml",
            "binary_version": "4.05.0-10ubuntu1"
          },
          {
            "binary_name": "ocaml-base",
            "binary_version": "4.05.0-10ubuntu1"
          },
          {
            "binary_name": "ocaml-base-dbgsym",
            "binary_version": "4.05.0-10ubuntu1"
          },
          {
            "binary_name": "ocaml-base-nox",
            "binary_version": "4.05.0-10ubuntu1"
          },
          {
            "binary_name": "ocaml-base-nox-dbgsym",
            "binary_version": "4.05.0-10ubuntu1"
          },
          {
            "binary_name": "ocaml-compiler-libs",
            "binary_version": "4.05.0-10ubuntu1"
          },
          {
            "binary_name": "ocaml-interp",
            "binary_version": "4.05.0-10ubuntu1"
          },
          {
            "binary_name": "ocaml-mode",
            "binary_version": "4.05.0-10ubuntu1"
          },
          {
            "binary_name": "ocaml-nox",
            "binary_version": "4.05.0-10ubuntu1"
          },
          {
            "binary_name": "ocaml-nox-dbgsym",
            "binary_version": "4.05.0-10ubuntu1"
          },
          {
            "binary_name": "ocaml-source",
            "binary_version": "4.05.0-10ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "ocaml",
        "purl": "pkg:deb/ubuntu/ocaml@4.05.0-10ubuntu1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.05.0-10ubuntu1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.04.0-2ubuntu4"
      ]
    }
  ],
  "aliases": [],
  "details": "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.",
  "id": "UBUNTU-CVE-2017-9772",
  "modified": "2025-07-16T04:52:09Z",
  "published": "2017-06-23T20:29:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2017-9772"
    },
    {
      "type": "REPORT",
      "url": "https://sympa.inria.fr/sympa/arc/caml-list/2017-06/msg00094.html"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2017-9772"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2017-9772"
  ],
  "withdrawn": "2025-07-18T16:44:01Z"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…