CVE-2021-32823
LOW 3.7CVSS 3.1Potential 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.
- Published
- 24 Jun 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- BIT-gitlab-2021-32823GHSA-hj56-84jw-67h6
- Sources
- NVDJSONOSV GHSA-hj56-84jw-67h6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | bindata_project | bindatacpe:2.3:a:bindata_project:bindata:*:*:*:*:*:ruby:*:* |
< 2.4.10 | 2.4.10 |
| NVD | gitlab | gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* |
>= 12.0, < 13.10.5 | 13.10.5 |
| NVD | gitlab | gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* |
>= 12.0, < 13.10.5 | 13.10.5 |
| NVD | gitlab | gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* |
>= 13.11.0, < 13.11.5 | 13.11.5 |
| NVD | gitlab | gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* |
>= 13.11.0, < 13.11.5 | 13.11.5 |
| NVD | gitlab | gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* |
>= 13.12.0, < 13.12.2 | 13.12.2 |
| NVD | gitlab | gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* |
>= 13.12.0, < 13.12.2 | 13.12.2 |
| OSV | RubyGems | bindata | < 2.4.10 | 2.4.10 |
References
- https://about.gitlab.com/releases/2021/06/01/security-release-gitlab-13-12-2-released/#update-bindata-dependency · Third Party Advisory, WEB
- https://github.com/dmendel/bindata/blob/v2.4.10/ChangeLog.rdoc#version-2410-2021-05-18- · Third Party Advisory, WEB
- https://github.com/dmendel/bindata/commit/d99f050b88337559be2cb35906c1f8da49531323 · Patch, Third Party Advisory, WEB
- https://github.com/rubysec/ruby-advisory-db/issues/476 · Exploit, Patch, Third Party Advisory, WEB
- https://rubygems.org/gems/bindata · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-32823 · ADVISORY
- https://github.com/dmendel/bindata · PACKAGE
- https://github.com/dmendel/bindata/blob/master/ChangeLog.rdoc#version-2410-2021-05-18- · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 24 Jun 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Jun 2021)