CVE-2022-0631 Heap-based Buffer Overflow in mruby/mruby

Medium 5.9 Published Updated

A heap-based buffer overflow in the mruby library allows attackers to execute arbitrary code or cause a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-0631?

CVE-2022-0631 is a medium-severity memory corruption vulnerability in mruby/mruby, published on 18 Feb 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Heap-based Buffer Overflow in Homebrew mruby prior to 3.2.

Weakness: CWE-122

Which versions are affected by CVE-2022-0631?

It affects 1 product.

Products include Mruby Mruby.

How do I fix CVE-2022-0631?

No fix has been published for CVE-2022-0631 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2022-0631 being exploited?

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

Sources

Also known as GHSA-hv83-f8w5-chhv, UBUNTU-CVE-2022-0631.

Is CVE-2022-0631 in your software?

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

Check your SBOMs for free