CVE Vulnerabilities

CVE-2018-12247

NULL Pointer Dereference

Published: Jun 12, 2018 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrb_class, related to certain .clone usage, because mrb_obj_clone in kernel.c copies flags other than the MRB_FLAG_IS_FROZEN flag (e.g., the embedded flag).

Weakness

The product dereferences a pointer that it expects to be valid but is NULL.

Affected Software

NameVendorStart VersionEnd Version
MrubyMruby1.4.1 (including)1.4.1 (including)
MrubyUbuntuartful*
MrubyUbuntubionic*
MrubyUbuntucosmic*
MrubyUbuntudisco*
MrubyUbuntueoan*
MrubyUbuntufocal*
MrubyUbuntugroovy*
MrubyUbuntuhirsute*
MrubyUbuntuimpish*
MrubyUbuntukinetic*
MrubyUbuntulunar*
MrubyUbuntumantic*
MrubyUbuntuoracular*
MrubyUbuntuplucky*
MrubyUbuntutrusty*
MrubyUbuntuxenial*

Potential Mitigations

References