CVE-2021-32823: Potential Denial-of-Service in bindata

Published Jun 23, 2021
·
Updated

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.

Other sources

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.

MITRE

Affected Software

10 affected componentsFixes available
rubygems/bindata<2.4.10
2.4.10
Bindata Project Bindata Ruby<2.4.10
GitLab GitLab>=12.0
GitLab GitLab>=12.0
GitLab GitLab>=12.0<13.10.5
GitLab GitLab>=12.0<13.10.5
GitLab GitLab>=13.11.0<13.11.5
GitLab GitLab>=13.11.0<13.11.5
GitLab GitLab>=13.12.0<13.12.2
GitLab GitLab>=13.12.0<13.12.2

Event History

Jun 23, 2021
CVE Published
via MITRE·11:40 PM
Data Sourced
via MITRE·11:40 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·11:42 PM

Frequently Asked Questions

1

What is CVE-2021-32823?

CVE-2021-32823 is a potential denial-of-service vulnerability in the bindata RubyGem before version 2.4.10.

2

How does CVE-2021-32823 impact affected versions of bindata?

In affected versions of bindata, certain classes in BinData, such as BinData::Bit100000 and BinData::Bit100001, are very slow to be created, resulting in a potential denial-of-service vulnerability.

3

Which software is affected by CVE-2021-32823?

The bindata RubyGem before version 2.4.10, as well as Gitlab versions 12.0 and above (both Community and Enterprise editions) are affected by CVE-2021-32823.

4

What is the severity of CVE-2021-32823?

CVE-2021-32823 has a severity rating of medium (3.7).

5

How can I fix CVE-2021-32823?

To fix CVE-2021-32823, update the bindata RubyGem to version 2.4.10 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203