CVE-2018-14337 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....
HighCVSS 7.5
EPSS 1.4%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/mruby(Debian:12) | < 2.0.0-1 | 2.0.0-1 |
| debian/mruby(Debian:13) | < 2.0.0-1 | 2.0.0-1 |
| debian/mruby(Debian:14) | < 2.0.0-1 | 2.0.0-1 |
| mruby | = 1.4.1 | No fix listed |
| debian linux | = 9.0 | No fix listed |
References
- Debian Security Tracker CVE-2018-14337 vendor-advisory
- github.com exploit issue-tracking third-party-advisory
- [debian-lts-announce] 20220506 [SECURITY] [DLA 2996-1] mruby security update mailing-list third-party-advisory
- bugs.debian.org issue-tracking