CVE-2017-9772

Publication date 23 June 2017

Last updated 25 August 2025


Ubuntu priority

Cvss 3 Severity Score

9.8 · Critical

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
ocaml 19.04 disco
Not affected
18.10 cosmic
Not affected
18.04 LTS bionic
Not affected
17.10 artful Ignored end of life
17.04 zesty
Not affected
16.10 yakkety Ignored end of life
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected

Notes


seth-arnold

Look for further modifications that would handle filesystem capabilities or other reasons for `AT_SECURE` to be set in getauxval(3).


mdeslaur

only affects 4.04.0 and 4.04.1

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
ocaml

Severity score breakdown

CVSS version: CVSS v3.0

Base score 9.8 · Critical

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H


Access our resources on patching vulnerabilities