Lucene search

K
rubygemsRubySecRUBY:MRUBY-2018-14337
HistoryJul 16, 2018 - 9:00 p.m.

Signed integer overflow in mrb_str_format

2018-07-1621:00:00
RubySec
github.com
7

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

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.

Affected configurations

Vulners
Node
rubymrubyRange2.0.0
VendorProductVersionCPE
rubymruby*cpe:2.3:a:ruby:mruby:*:*:*:*:*:*:*:*

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N