CVE-2021-32823
JSON

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 packageVersionsReported by
dmendel bindata< 2.4.10CVE List
bindata (RubyGems)before 2.4.10GitHub Advisory Database
bindata_project bindatabefore 2.4.10NVD
gitlab gitlabfrom 12.0 before 13.10.5, from 13.11.0 before 13.11.5, from 13.12.0 before 13.12.2NVD
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.2Bitnami Vulnerability Database

All scores

GitHub_M3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub3.7medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
NVD3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:N/A:P
Bitnami Vulnerability Databaselow 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.&#xa0;En las versiones afectadas, es muy lento crear determinadas clases en BinData.&#xa0;Por ejemplo,BinData::Bit100000, BinData::Bit100001, BinData::Bit100002, BinData::Bit(N).&#xa0;En combinación con (user_input) .constantize, se presenta la posibilidad de un DoS basado en CPU.&#xa0;En la versión 2.4.10 bindata mejoró el tiempo de creación de Bits e Integers

References

Sources

SourceRecordLicence
CVE ListCVE-2021-32823 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-hj56-84jw-67h6 changed 2024-11-21CC-BY-4.0
NVDCVE-2021-32823 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GITLAB-2021-32823 changed 2026-09-08Apache-2.0