CVE-2021-32823
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
3.7
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.
- Record
CVE-2021-32823- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-400
- Updated
- 2026-11-02
EUVDEUVD-2021-1335
3.7
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.
- Record
EUVD-2021-1335- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-hj56-84jw-67h6
6.3
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.
- Record
GHSA-hj56-84jw-67h6- CVSS 4.0
- 6.3 Medium
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 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-400
- Updated
- 2026-11-02
NVD
3.7
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.
- Record
CVE-2021-32823- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-400
- Updated
- 2026-11-02
OSV
3.7
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.
- Record
CVE-2021-32823- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-32823
3.7
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.
- Record
DEBIAN-CVE-2021-32823- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVGHSA-hj56-84jw-67h6
6.3
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.
- Record
GHSA-hj56-84jw-67h6- CVSS 4.0
- 6.3 Medium
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 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-400
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-32823
3.7
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.
- Record
UBUNTU-CVE-2021-32823- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVBIT-gitlab-2021-32823 No score
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.
- Record
BIT-gitlab-2021-32823- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
bindataRubyGems |
before 2.4.10 | 2.4.10 |
gitlabBitnami |
12.0.0 up to 13.10.5, 13.11.0 up to 13.11.5, 13.12.0 up to 13.12.2 | 13.10.513.11.513.12.2 |
ruby-bindataDebian:12 |
before 2.4.14-1 | 2.4.14-1 |
ruby-bindataDebian:13 |
before 2.4.14-1 | 2.4.14-1 |
ruby-bindataDebian:14 |
before 2.4.14-1 | 2.4.14-1 |
bindataRubyGems |
before 2.4.10, plus listed versions 0.10.00.11.00.11.10.5.00.5.1 Show 45 moreShow less0.6.00.7.00.8.00.8.10.9.00.9.10.9.20.9.31.0.01.1.01.2.01.2.11.2.21.3.11.4.01.4.11.4.21.4.31.4.41.4.51.5.01.5.11.6.01.8.01.8.11.8.21.8.32.0.02.1.02.2.02.3.02.3.12.3.22.3.32.3.42.3.52.4.02.4.12.4.22.4.32.4.42.4.52.4.62.4.72.4.8 |
2.4.10 |
ruby-bindataUbuntu:18.04:LTS |
All versions, plus listed versions 2.3.5-1 |
None known |
ruby-bindataUbuntu:20.04:LTS |
All versions, plus listed versions 2.3.5-1 |
None known |
ruby-bindataUbuntu:22.04:LTS |
All versions, plus listed versions 2.4.8-12.4.8-2 |
None known |
ruby-bindataUbuntu:24.04:LTS |
All versions, plus listed versions 2.4.14-1 |
None known |
ruby-bindataUbuntu:25.10 |
All versions, plus listed versions 2.4.14-1 |
None known |
ruby-bindataUbuntu:26.10 |
All versions, plus listed versions 2.5.1-12.5.1-23.0.0-1 |
None known |
ruby-bindataUbuntu:26.04:LTS |
All versions, plus listed versions 2.4.14-12.5.1-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-32823 is a low vulnerability (CVSS 3.7) in Bindata Project Bindata, published June 23, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.87%, the 79th percentile. Fixed in bindata 2.4.10.
References
github.com/dmendel/bindata/commit/d99f050b88337559be2cb35906c1f8da49531323
github.com/rubysec/ruby-advisory-db/issues/476
about.gitlab.com/releases/2021/06/01/security-release-gitlab-13-12-2-released
rubygems.org/gems/bindata
github.com/dmendel/bindata/blob/v2.4.10/ChangeLog.rdoc
github.com/dmendel/bindata/blob/master/ChangeLog.rdoc
Left out here: 1 version. The JSON record has them.