OSV-2021-1452 Heap-buffer-overflow in mrb_funcall_with_block
A heap-buffer-overflow in mruby's function call mechanism allows attackers to potentially execute arbitrary code or cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2021-1452?
OSV-2021-1452 is a memory corruption vulnerability in mruby, published on 15 Oct 2021.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39937
Crash type: Heap-buffer-overflow WRITE 8
Crash state:
mrb_funcall_with_block
mrb_instance_new
mrb_funcall_with_block
Which versions are affected by OSV-2021-1452?
1 open source package ship an affected version, including mruby.
| Package | Affected | Fixed in |
|---|---|---|
mruby OSS-Fuzz | All versions | None |
How do I fix OSV-2021-1452?
No fix has been published for OSV-2021-1452 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 OSV-2021-1452 being exploited?
There is no known exploitation of OSV-2021-1452 in the wild and no public exploit code.