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

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.87%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-06-23T23:40:12.000Z
- Modified: 2026-09-08T08:47:37.926Z
- Also known as: GHSA-hj56-84jw-67h6, BIT-GITLAB-2021-32823
- Weaknesses: CWE-400
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- dmendel bindata: < 2.4.10
- bindata (RubyGems): before 2.4.10
- bindata_project bindata: before 2.4.10
- gitlab gitlab: from 12.0 before 13.10.5; from 13.11.0 before 13.11.5; from 13.12.0 before 13.12.2
- gitlab (Bitnami): from 12.0.0 before 13.10.5; from 13.11.0 before 13.11.5; from 13.12.0 before 13.12.2

## Every score

- GitHub_M: 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`
- GitHub: CVSS:3.1 3.7 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 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`
- NVD: 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`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating Low

## References

- <https://github.com/rubysec/ruby-advisory-db/issues/476> (exploit, advisory, patch, third-party-advisory, web)
- <https://github.com/dmendel/bindata/commit/d99f050b88337559be2cb35906c1f8da49531323> (advisory, patch, third-party-advisory, web)
- <https://about.gitlab.com/releases/2021/06/01/security-release-gitlab-13-12-2-released/#update-bindata-dependency> (advisory, third-party-advisory, web)
- <https://rubygems.org/gems/bindata> (advisory, third-party-advisory, web)
- <https://github.com/dmendel/bindata/blob/v2.4.10/ChangeLog.rdoc#version-2410-2021-05-18-> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32823> (advisory, web)
- <https://github.com/dmendel/bindata> (package)
- <https://github.com/dmendel/bindata/blob/master/ChangeLog.rdoc#version-2410-2021-05-18-> (web)

## Sources

- CVE List: [CVE-2021-32823](https://www.cve.org/CVERecord?id=CVE-2021-32823), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-hj56-84jw-67h6](https://github.com/advisories/GHSA-hj56-84jw-67h6), CC-BY-4.0, modified 2024-11-21
- NVD: [CVE-2021-32823](https://nvd.nist.gov/vuln/detail/CVE-2021-32823), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITLAB-2021-32823](https://osv.dev/vulnerability/BIT-GITLAB-2021-32823), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-32823 · Whole record: https://cve.day/CVE-2021-32823.json · Rebuilt by cve.day 2026-11-25T22:58:02.158Z
