CVE-2022-1071 User after free in mrb_vm_exec in mruby/mruby
An attacker can exploit a use-after-free flaw in the mruby VM to potentially execute arbitrary code or cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-1071?
CVE-2022-1071 is a high-severity use after free vulnerability in mruby/mruby, published on 26 Mar 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
User after free in mrb_vm_exec in GitHub repository mruby/mruby prior to 3.2.
Weakness: CWE-416
Which versions are affected by CVE-2022-1071?
It affects 1 product.
Products include Mruby Mruby.
How do I fix CVE-2022-1071?
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-2022-1071 being exploited?
There is no known exploitation of CVE-2022-1071 in the wild and no public exploit code.
Other vulnerabilities in mruby/mruby
Sources
Also known as DEBIAN-CVE-2022-1071, GHSA-pv86-xgr9-75fj, UBUNTU-CVE-2022-1071.