OSV-2021-849 Negative-size-param in mrb_str_format

Not scored Published

A negative size parameter in the string formatting function can cause a crash, leading to denial of service in applications using the library.

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

OSV-2021-849 is a vulnerability in mruby, published on 11 Jun 2021.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35109

Crash type: Negative-size-param
Crash state:
mrb_str_format
mrb_f_sprintf
mrb_vm_exec

Which versions are affected by OSV-2021-849?

1 open source package ship an affected version, including mruby.

PackageAffectedFixed in
mruby OSS-FuzzAll versionsNone

How do I fix OSV-2021-849?

No fix has been published for OSV-2021-849 yet. Limit exposure of the affected software until one is available.

Is OSV-2021-849 being exploited?

There is no known exploitation of OSV-2021-849 in the wild and no public exploit code.

Sources

Is OSV-2021-849 in your software?

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

Check your SBOMs for free