Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mruby | Mruby | 1.4.1 |
| Debian | Debian Linux | 9.0 |
Related Weaknesses (CWE)
References
- https://github.com/mruby/mruby/issues/4062ExploitIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00006.htmlMailing ListThird Party Advisory
- https://github.com/mruby/mruby/issues/4062ExploitIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00006.htmlMailing ListThird Party Advisory
FAQ
What is CVE-2018-14337?
CVE-2018-14337 is a vulnerability with a CVSS score of 7.5 (HIGH). 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....
How severe is CVE-2018-14337?
CVE-2018-14337 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-14337?
Check the references section above for vendor advisories and patch information. Affected products include: Mruby Mruby, Debian Debian Linux.