CVE-2018-14337

NameCVE-2018-14337
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs903985

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mruby (PTS)jessie1.0.0+20141015+gitb4cc962c-1vulnerable
stretch1.2.0+20161228+git30d5424a-1vulnerable
buster, sid1.4.1+20180622+git640fca32-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mrubysource(unstable)(unfixed)medium903985

Notes

[stretch] - mruby <no-dsa> (Minor issue)
[jessie] - mruby <no-dsa> (Minor issue)
https://github.com/mruby/mruby/issues/4062
https://github.com/mruby/mruby/commit/695f29cd604787f43be1af16e38d13610bf8312b
https://github.com/mruby/mruby/commit/adb1eae912659d680a9c5b7832e22cf73d36a69a

Search for package or bug name: Reporting problems