Moderate severityNVD Advisory· Published Jun 23, 2021· Updated Aug 3, 2024
Potential Denial-of-Service in bindata
CVE-2021-32823
Description
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. 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
bindataRubyGems | < 2.4.10 | 2.4.10 |
Affected products
3- osv-coords2 versions
>= 12.0.0, < 13.10.5+ 1 more
- (no CPE)range: >= 12.0.0, < 13.10.5
- (no CPE)range: < 2.4.10
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-hj56-84jw-67h6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-32823ghsaADVISORY
- about.gitlab.com/releases/2021/06/01/security-release-gitlab-13-12-2-released/ghsax_refsource_MISCWEB
- github.com/dmendel/bindata/blob/master/ChangeLog.rdocghsaWEB
- github.com/dmendel/bindata/blob/v2.4.10/ChangeLog.rdocghsax_refsource_MISCWEB
- github.com/dmendel/bindata/commit/d99f050b88337559be2cb35906c1f8da49531323ghsax_refsource_CONFIRMWEB
- github.com/rubysec/ruby-advisory-db/issues/476ghsax_refsource_MISCWEB
- rubygems.org/gems/bindataghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.