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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2996-1
Debian Bugs903985

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mruby (PTS)jessie1.0.0+20141015+gitb4cc962c-1vulnerable
stretch (security), stretch (lts), stretch1.2.0+20161228+git30d5424a-1+deb9u1fixed
buster2.0.0-1fixed
bullseye2.1.2-3fixed
bookworm3.1.0-3fixed
sid, trixie3.2.0-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mrubysourcestretch1.2.0+20161228+git30d5424a-1+deb9u1DLA-2996-1
mrubysource(unstable)2.0.0-1low903985

Notes

[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