CVE-2022-1276 Out-of-bounds Read in mrb_get_args in mruby/mruby

High 8.4 Published Updated

An out-of-bounds read in mruby's mrb_get_args function allows attackers to potentially 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
Available

What is CVE-2022-1276?

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

Official description

Out-of-bounds Read in mrb_get_args in GitHub repository mruby/mruby prior to 3.2. Possible arbitrary code execution if being exploited.

Weakness: CWE-125

Which versions are affected by CVE-2022-1276?

It affects 1 product.

Products include Mruby Mruby.

How do I fix CVE-2022-1276?

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-2022-1276 being exploited?

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

Sources

Also known as GHSA-66hc-pc5r-hwjr, UBUNTU-CVE-2022-1276.

Is CVE-2022-1276 in your software?

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

Check your SBOMs for free