CVE-2018-12248 Memory corruption in n/a

High 7.5 Published Updated

A heap-based buffer over-read in mruby allows attackers to cause denial of service or disclose sensitive memory contents via crafted fiber arguments.

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-12248?

CVE-2018-12248 is a high-severity memory corruption vulnerability in n/a, published on 12 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in mruby 1.4.1. There is a heap-based buffer over-read associated with OP_ENTER because mrbgems/mruby-fiber/src/fiber.c does not extend the stack in cases of many arguments to fiber.

Weakness: CWE-125

Which versions are affected by CVE-2018-12248?

It affects 1 product.

Products include Mruby Mruby.

How do I fix CVE-2018-12248?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-12248 being exploited?

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

Sources

Also known as DEBIAN-CVE-2018-12248, GHSA-96p2-24jg-gc5w, UBUNTU-CVE-2018-12248.

Is CVE-2018-12248 in your software?

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

Check your SBOMs for free