Lucene search

K
rubygemsRubySecRUBY:BINDATA-2021-32823
HistoryMay 17, 2021 - 9:00 p.m.

Potential Denial-of-Service in bindata

2021-05-1721:00:00
RubySec
github.com
9
bindata
denial-of-service
vulnerability
version 2.4.10
cpu-based dos

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

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

CVSS3

3.7

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

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

In bindata before version 2.4.10, there is a potential denial-of-service
vulnerability. In affected versions, it is very slow for certain classes in BinData
to be created. For example BinData::Bit100000, BinData::Bit100001, BinData::Bit100002,
BinData::Bit<N>. In combination with &lt;user_input&gt;.constantize there is a potential
for a CPU-based DoS. In version 2.4.10, bindata improved the creation time of Bits
and Integers.

Affected configurations

Vulners
Node
rubybindataRange2.4.10
VendorProductVersionCPE
rubybindata*cpe:2.3:a:ruby:bindata:*:*:*:*:*:*:*:*

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

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

CVSS3

3.7

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

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