CVE-2018-10199 Use after free in n/a

Critical 9.8 Published Updated

An attacker can execute arbitrary code via a use-after-free vulnerability in the mruby library's file initialization function.

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

What is CVE-2018-10199?

CVE-2018-10199 is a critical use after free vulnerability in n/a, published on 18 Apr 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In versions of mruby up to and including 1.4.0, a use-after-free vulnerability exists in src/io.c::File#initilialize_copy(). An attacker that can cause Ruby code to be run can possibly use this to execute arbitrary code.

Weakness: CWE-416

Which versions are affected by CVE-2018-10199?

It affects 1 product.

Products include Mruby Mruby.

How do I fix CVE-2018-10199?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2018-10199 being exploited?

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

Sources

Also known as DEBIAN-CVE-2018-10199, GHSA-xpq9-m45f-g29q, UBUNTU-CVE-2018-10199.

Is CVE-2018-10199 in your software?

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

Check your SBOMs for free