{"id":"CVE-2017-9772","aliases":["EUVD-2017-18702","GHSA-jggq-92ww-7r4w","OSEC-2017-01","UBUNTU-CVE-2017-9772","openSUSE-SU-2024:10587-1"],"status":"published","title":"Insufficient sanitisation in the OCaml compiler versions 4.04.0 and 4.04.1 allows external code...","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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.03496,"percentile":0.89233,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2017-06-23T15:19:47Z","modified":"2026-11-06T13:45:02Z","fixes":[{"ecosystem":"opam","package":"ocaml","fixed_in":["4.04.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"opam","package":"ocaml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.04"},{"fixed":"4.04.2"}]}],"versions":["4.04.0","4.04.1"]}],"products":[{"vendor":"ocaml","product":"ocaml"}],"references":[{"url":"https://caml.inria.fr/mantis/view.php?id=7557","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://sympa.inria.fr/sympa/arc/caml-list/2017-06/msg00094.html","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"http://www.securityfocus.com/bid/99277","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://security.gentoo.org/glsa/201710-07","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9772"},{"url":"https://github.com/advisories/GHSA-jggq-92ww-7r4w"},{"url":"https://github.com/ocaml/ocaml/issues/7557","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-9772","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-9772","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2017-9772","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-9838","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-9772","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.","status":"published","published":"2017-06-23T20:00:00Z","modified":"2024-08-05T17:18:01.832Z","updated_at":"2026-11-02T14:33:13.606903Z"}],"euvd":[{"id":"EUVD-2017-18702","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.","status":"published","published":"2017-06-23T20:00:00Z","modified":"2024-08-05T17:18:01Z","updated_at":"2026-11-03T02:23:27.257081Z"}],"ghsa":[{"id":"GHSA-jggq-92ww-7r4w","title":"Insufficient sanitisation in the OCaml compiler versions 4.04.0 and 4.04.1 allows external code...","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.","status":"published","published":"2022-05-13T01:48:07Z","modified":"2023-02-02T05:01:35Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T14:51:12.922336Z"}],"nvd":[{"id":"CVE-2017-9772","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.","status":"published","published":"2017-06-23T20:29:00.207Z","modified":"2026-06-17T01:28:52.45Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:03:51.893212Z"}],"osv":[{"id":"CVE-2017-9772","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.","status":"published","published":"2017-06-23T20:29:00.207Z","modified":"2026-10-24T10:30:28.094197062Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:07.192756Z"},{"id":"OSEC-2017-01","title":"Local privilege escalation issue with ocaml binaries","description":"## 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.","status":"published","published":"2017-06-23T15:19:47Z","modified":"2026-11-06T19:14:04.275455465Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-06T19:35:49.498551Z"},{"id":"UBUNTU-CVE-2017-9772","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.","status":"withdrawn","published":"2017-06-23T20:29:00Z","modified":"2025-07-16T07:37:30.960822Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:16.154988Z"},{"id":"openSUSE-SU-2024:10587-1","title":"ocaml-4.12.1-1.1 on GA media","description":"These are all security issues fixed in the ocaml-4.12.1-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:59:43.453836Z","updated_at":"2026-11-02T16:58:34.487567Z"}]}}
