GHSA-hj56-84jw-67h6

Suggest an improvement
Source
https://github.com/advisories/GHSA-hj56-84jw-67h6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-hj56-84jw-67h6/GHSA-hj56-84jw-67h6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hj56-84jw-67h6
Aliases
Published
2021-06-23T23:42:04Z
Modified
2024-11-21T05:24:40.410364Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
Potential Denial-of-Service in bindata
Details

In the bindata RubyGem 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 <user_input>.constantize there is a potential for a CPU-based DoS. In version 2.4.10, bindata improved the creation time of Bits and Integers.

Database specific
{
    "nvd_published_at": "2021-06-24T00:15:00Z",
    "cwe_ids": [
        "CWE-400"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-06-23T23:41:30Z"
}
References

Affected packages

RubyGems / bindata

Package

Name
bindata
Purl
pkg:gem/bindata

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.10

Affected versions

0.*

0.5.0
0.5.1
0.6.0
0.7.0
0.8.0
0.8.1
0.9.0
0.9.1
0.9.2
0.9.3
0.10.0
0.11.0
0.11.1

1.*

1.0.0
1.1.0
1.2.0
1.2.1
1.2.2
1.3.1
1.4.0
1.4.1
1.4.2
1.4.3
1.4.4
1.4.5
1.5.0
1.5.1
1.6.0
1.8.0
1.8.1
1.8.2
1.8.3

2.*

2.0.0
2.1.0
2.2.0
2.3.0
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.4.0
2.4.1
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.4.8
2.4.9