{"api_version":"1","generated_at":"2026-04-15T02:20:56+00:00","cve":"CVE-2017-9772","urls":{"html":"https://cve.report/CVE-2017-9772","api":"https://cve.report/api/cve/CVE-2017-9772.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-9772","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-9772"},"summary":{"title":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2017-06-23 20:29:00","updated_at":"2019-10-03 00:03:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"http://www.securityfocus.com/bid/99277","name":"99277","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"OCaml CVE-2017-9772 Local Privilege Escalation Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://sympa.inria.fr/sympa/arc/caml-list/2017-06/msg00094.html","name":"https://sympa.inria.fr/sympa/arc/caml-list/2017-06/msg00094.html","refsource":"CONFIRM","tags":["Issue Tracking","Third Party Advisory"],"title":"caml-list - [Caml-list] OCaml release 4.04.2 - arc","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201710-07","name":"GLSA-201710-07","refsource":"GENTOO","tags":[],"title":"OCaml: Privilege escalation (GLSA 201710-07) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://caml.inria.fr/mantis/view.php?id=7557","name":"https://caml.inria.fr/mantis/view.php?id=7557","refsource":"CONFIRM","tags":["Issue Tracking","Third Party Advisory"],"title":"local privilege escalation issue with ocaml binaries · Issue #7557 · ocaml/ocaml · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-9772","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9772","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"9772","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ocaml","cpe5":"ocaml","cpe6":"4.04.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"9772","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ocaml","cpe5":"ocaml","cpe6":"4.04.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"9772","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ocaml","cpe5":"ocaml","cpe6":"4.04.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"9772","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ocaml","cpe5":"ocaml","cpe6":"4.04.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2017-9772","qid":"710435","title":"Gentoo Linux OCaml Privilege escalation Vulnerability (GLSA 201710-07)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-9772","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://caml.inria.fr/mantis/view.php?id=7557","refsource":"CONFIRM","url":"https://caml.inria.fr/mantis/view.php?id=7557"},{"name":"https://sympa.inria.fr/sympa/arc/caml-list/2017-06/msg00094.html","refsource":"CONFIRM","url":"https://sympa.inria.fr/sympa/arc/caml-list/2017-06/msg00094.html"},{"name":"99277","refsource":"BID","url":"http://www.securityfocus.com/bid/99277"},{"name":"GLSA-201710-07","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201710-07"}]}},"nvd":{"publishedDate":"2017-06-23 20:29:00","lastModifiedDate":"2019-10-03 00:03:00","problem_types":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":10},"severity":"HIGH","exploitabilityScore":10,"impactScore":10,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:ocaml:ocaml:4.04.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:ocaml:ocaml:4.04.1:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"9772","Ordinal":"106807","Title":"CVE-2017-9772","CVE":"CVE-2017-9772","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"9772","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"9772","Ordinal":"2","NoteData":"2017-06-23","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"9772","Ordinal":"3","NoteData":"2017-10-09","Type":"Other","Title":"Modified"}]}}}