CVE-2017-9772 Privilege escalation in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary code with elevated privileges in setuid binaries by manipulating specific environment variables in the OCaml compiler.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-9772?

CVE-2017-9772 is a critical vulnerability in n/a, published on 23 Jun 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Which versions are affected by CVE-2017-9772?

It affects 1 product.

Products include Ocaml Ocaml.

How do I fix CVE-2017-9772?

Apply the vendor's patch.

Is CVE-2017-9772 being exploited?

There is no known exploitation of CVE-2017-9772 in the wild and no public exploit code.

Sources

Also known as GHSA-jggq-92ww-7r4w, OSEC-2017-01.

Is CVE-2017-9772 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free