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

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

A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.

Affected Software

Name Vendor Start Version End Version
Mruby Mruby 1.4.1 (including) 1.4.1 (including)
Mruby Ubuntu artful *
Mruby Ubuntu bionic *
Mruby Ubuntu cosmic *
Mruby Ubuntu disco *
Mruby Ubuntu eoan *
Mruby Ubuntu groovy *
Mruby Ubuntu hirsute *
Mruby Ubuntu impish *
Mruby Ubuntu kinetic *
Mruby Ubuntu lunar *
Mruby Ubuntu mantic *
Mruby Ubuntu trusty *
Mruby Ubuntu xenial *

Potential Mitigations

References