Medium, CVSS 6.3RubyGemsPublished
Potential Denial-of-Service in bindata
CVE-2021-32823 · GHSA-hj56-84jw-67h6
- Affected
- RubyGems bindata < 2.4.10
- Fixed in
- 2.4.10· Vendor fix available
- Issue
- 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 <userinput.constantize there is a potential for a CPU-based DoS. In version 2.4.10, bindata improved the creation time of Bits and Integers.
Recommended action: Upgrade to 2.4.10 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.