CVE-2021-32823Bindata Project Bindata
Low 3.7 No auth needed
Follow: this CVE · Bindata Project · Bindata Project Bindata We alert you by email or Slack (account required).
- Priority
- 37
- CVSS 3.1
- 3.7
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 80
- Auth required
- No
- Published
- Jun 24, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for Bindata.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | bindata |
< 2.4.10 |
2.4.10 |
gem "bindata", ">= 2.4.10" |
Per OSV / GitHub Advisories (GHSA-hj56-84jw-67h6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bindata_project | bindata | < 2.4.10 |
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- about.gitlab.com Third Party Advisory
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Exploit Patch Third Party Advisory
- rubygems.org Third Party Advisory