Integer Overflow or Wraparound Affecting mruby package, versions <2.0.0-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.33% (71st 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-DEBIANUNSTABLE-MRUBY-278121
  • published22 Jul 2018
  • disclosed17 Jul 2018

Introduced: 17 Jul 2018

CVE-2018-14337  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Debian:unstable mruby to version 2.0.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mruby package and not the mruby package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

The CHECK macro in mrbgems/mruby-sprintf/src/sprintf.c in mruby 1.4.1 contains a signed integer overflow, possibly leading to out-of-bounds memory access because the mrb_str_resize function in string.c does not check for a negative length.

CVSS Scores

version 3.1