CVE-2021-32823: bindata RubyGem - Denial of Service
- Cve: CVE-2021-32823
- Name: bindata RubyGem - Denial of Service
- Description: 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.
- Impact: Attackers can cause high CPU usage leading to denial of service, affecting system availability.
- Remediation: Update to version 2.4.10 or later.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: user_interaction
- Requirements: Attacker needs to control user input
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 3.7
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- Epss score: 0.01866
- Epss percentile: 0.79719
- Assignee: [email protected]
- Published at: 2021-06-24T00:15:08Z
- Age in days: 1979
- Modified at: 2026-06-17T03:53:42Z
- Patch available: yes
- Public exploits total: 1
- References total: 5
- Products total: 2
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-32823
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-400 | Uncontrolled Resource Consumption |
| NVD-CWE-Other | — |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/rubysec/ruby-advisory-db/issues/476 | nvd | 2021-06-24 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/dmendel/bindata/commit/d99f050b88337559be2cb35906c1f8da49531323 | Patch, Third Party Advisory |
| https://github.com/rubysec/ruby-advisory-db/issues/476 | Exploit, Patch, Third Party Advisory |
| https://about.gitlab.com/releases/2021/06/01/security-release-gitlab-13-12-2-released/#update-bindata-dependency | Third Party Advisory |
| https://github.com/dmendel/bindata/blob/v2.4.10/ChangeLog.rdoc#version-2410-2021-05-18- | Third Party Advisory |
| https://rubygems.org/gems/bindata | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| bindata_project:bindata | < 2.4.10 | no | nvd | /v1/products/bindata_project/bindata |
| gitlab:gitlab | >= 13.12.0, < 13.12.2; >= 13.11.0, < 13.11.5; >= 12.0, < 13.10.5 | no | nvd | /v1/products/gitlab/gitlab |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| rubysec/ruby-advisory-db | issues | yes | /v1/repositories/rubysec/ruby-advisory-db |
| dmendel/bindata | commit, package | yes | /v1/repositories/dmendel/bindata |
Index
- Repositories: 4
- Repositories high signal: 1
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-06-24
- Remote: yes
- Exposed hosts: 66493
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports