3.7low
Potential Denial-of-Service in bindata
- Severity
- 3.7low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.87% (higher than 79% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-hj56-84jw-67h6BIT-GITLAB-2021-32823
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| dmendel bindata | < 2.4.10 | CVE List |
| bindata (RubyGems) | before 2.4.10 | GitHub Advisory Database |
| bindata_project bindata | before 2.4.10 | NVD |
| 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 | NVD |
| 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 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | medium 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 | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| Bitnami Vulnerability Database | low rating |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
En bindata RubyGem versiones anteriores a 2.4.10, presenta una vulnerabilidad potencial de denegación de servicio. En las versiones afectadas, es muy lento crear determinadas clases en BinData. Por ejemplo,BinData::Bit100000, BinData::Bit100001, BinData::Bit100002, BinData::Bit(N). En combinación con (user_input) .constantize, se presenta la posibilidad de un DoS basado en CPU. En la versión 2.4.10 bindata mejoró el tiempo de creación de Bits e Integers
References
| https://github.com/dmendel/bindata/commit/d99f050b88337559be2cb35906c1f8da49531323 | advisory, patch, third-party-advisory, web | |
| https://github.com/rubysec/ruby-advisory-db/issues/476 | advisory, exploit, 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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32823 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hj56-84jw-67h6 changed 2024-11-21 | CC-BY-4.0 |
| NVD | CVE-2021-32823 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GITLAB-2021-32823 changed 2026-09-08 | Apache-2.0 |