CVE Vulnerabilities

CVE-2018-12249

NULL Pointer Dereference

Published: Jun 12, 2018 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/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_real because class BasicObject is not properly supported in class.c.

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