{"cve":"CVE-2021-32823","nvd":{"published":"2021-06-24T00:15:08.103","modified":"2026-06-17T03:53:42.240","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","score":3.7},"cwes":["CWE-400"],"references":["https://about.gitlab.com/releases/2021/06/01/security-release-gitlab-13-12-2-released/#update-bindata-dependency","https://github.com/dmendel/bindata/blob/v2.4.10/ChangeLog.rdoc#version-2410-2021-05-18-","https://github.com/dmendel/bindata/commit/d99f050b88337559be2cb35906c1f8da49531323","https://github.com/rubysec/ruby-advisory-db/issues/476","https://rubygems.org/gems/bindata"],"products":["bindata_project:bindata","gitlab:gitlab"],"source":"nvd","synced_at":"2026-10-19T21:20:07.141963181+00:00"},"epss":{"cve":"CVE-2021-32823","score":0.01866,"percentile":0.79295,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-hj56-84jw-67h6","url":"https://osv.dev/vulnerability/GHSA-hj56-84jw-67h6","summary":"Potential Denial-of-Service in bindata","modified":"2024-11-21T05:24:40.410364Z","packages":[{"ecosystem":"RubyGems","name":"bindata","purl":"pkg:gem/bindata","ranges":["<2.4.10"],"fixed":["2.4.10"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}