Vulnerability Name:

CVE-2018-12248 (CCN-144765)

Assigned:2018-06-06
Published:2018-06-06
Updated:2019-10-03
Summary:An issue was discovered in mruby 1.4.1. There is a heap-based buffer over-read associated with OP_ENTER because mrbgems/mruby-fiber/src/fiber.c does not extend the stack in cases of many arguments to fiber.
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
4.0 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)
3.5 Low (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Low
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
2.1 Low (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
Vulnerability Type:CWE-125
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2018-12248

Source: XF
Type: UNKNOWN
mruby-cve201812248-dos(144765)

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/mruby/mruby/commit/778500563a9f7ceba996937dc886bd8cde29b42b

Source: CCN
Type: mruby GIT Repository
Heap buffer overflow in OP_ENTER #4038

Source: MISC
Type: Issue Tracking, Third Party Advisory
https://github.com/mruby/mruby/issues/4038

Vulnerable Configuration:Configuration 1:
  • cpe:/a:mruby:mruby:1.4.1:*:*:*:*:ruby:*:*

  • Configuration CCN 1:
  • cpe:/a:mruby:mruby:1.4.1:*:*:*:*:ruby:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.xenial:def:2018122480000000
    V
    CVE-2018-12248 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-06-12
    oval:com.ubuntu.artful:def:201812248000
    V
    CVE-2018-12248 on Ubuntu 17.10 (artful) - medium.
    2018-06-12
    oval:com.ubuntu.xenial:def:201812248000
    V
    CVE-2018-12248 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-06-12
    oval:com.ubuntu.disco:def:2018122480000000
    V
    CVE-2018-12248 on Ubuntu 19.04 (disco) - medium.
    2018-06-12
    oval:com.ubuntu.bionic:def:201812248000
    V
    CVE-2018-12248 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-06-12
    oval:com.ubuntu.cosmic:def:2018122480000000
    V
    CVE-2018-12248 on Ubuntu 18.10 (cosmic) - medium.
    2018-06-12
    oval:com.ubuntu.cosmic:def:201812248000
    V
    CVE-2018-12248 on Ubuntu 18.10 (cosmic) - medium.
    2018-06-12
    oval:com.ubuntu.bionic:def:2018122480000000
    V
    CVE-2018-12248 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-06-12
    oval:com.ubuntu.trusty:def:201812248000
    V
    CVE-2018-12248 on Ubuntu 14.04 LTS (trusty) - medium.
    2018-06-12
    BACK
    mruby mruby 1.4.1
    mruby mruby 1.4.1