CVE-2017-9772: OCaml Compiler - Privilege Escalation
- Cve: CVE-2017-9772
- Name: OCaml Compiler - Privilege Escalation
- 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.
- Impact: Attackers can execute arbitrary code with elevated privileges on affected systems.
- Remediation: Update to the latest OCaml compiler version where this issue is fixed.
- Vulnerability type: privilege_escalation
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03496
- Epss percentile: 0.89443
- Assignee: [email protected]
- Published at: 2017-06-23T20:29:00Z
- Age in days: 3441
- Modified at: 2026-06-17T01:28:52Z
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-9772
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://www.securityfocus.com/bid/99277 | Third Party Advisory, VDB Entry |
| https://caml.inria.fr/mantis/view.php?id=7557 | Issue Tracking, Third Party Advisory |
| https://sympa.inria.fr/sympa/arc/caml-list/2017-06/msg00094.html | Issue Tracking, Third Party Advisory |
| https://security.gentoo.org/glsa/201710-07 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| ocaml:ocaml | = 4.04.1, = 4.04.0 | no | nvd | /v1/products/ocaml/ocaml |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| ocaml/ocaml | fix | yes | /v1/repositories/ocaml/ocaml |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts