Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWhqNTYtODRqdy02N2g2
Potential Denial-of-Service in bindata
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWhqNTYtODRqdy02N2g2
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 3 years ago
Updated: about 1 month ago
CVSS Score: 3.7
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS Percentage: 0.00231
EPSS Percentile: 0.60742
Identifiers: GHSA-hj56-84jw-67h6, CVE-2021-32823
References:
- https://github.com/rubysec/ruby-advisory-db/issues/476
- https://github.com/dmendel/bindata/commit/d99f050b88337559be2cb35906c1f8da49531323
- https://about.gitlab.com/releases/2021/06/01/security-release-gitlab-13-12-2-released/#update-bindata-dependency
- https://github.com/dmendel/bindata/blob/master/ChangeLog.rdoc#version-2410-2021-05-18-
- https://rubygems.org/gems/bindata
- https://nvd.nist.gov/vuln/detail/CVE-2021-32823
- https://github.com/dmendel/bindata/blob/v2.4.10/ChangeLog.rdoc#version-2410-2021-05-18-
- https://github.com/advisories/GHSA-hj56-84jw-67h6
Blast Radius: 12.9
Affected Packages
rubygems:bindata
Dependent packages: 138Dependent repositories: 3,026
Downloads: 97,321,629 total
Affected Version Ranges: < 2.4.10
Fixed in: 2.4.10
All affected versions: 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.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.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
All unaffected versions: 2.4.10, 2.4.11, 2.4.12, 2.4.13, 2.4.14, 2.4.15, 2.5.0