Out-of-bounds Write Affecting mruby/mruby package, versions [,2.1.1-rc)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.64% (80th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-MRUBYMRUBY-2333606
  • published12 Jan 2022
  • disclosed11 Jan 2020
  • creditUnknown

Introduced: 11 Jan 2020

CVE-2020-6839  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade mruby/mruby to version 2.1.1-rc or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. In mruby 2.1.0, there is a stack-based buffer overflow in mrb_str_len_to_dbl in string.c.

CVSS Scores

version 3.1