{"id":"CVE-2021-32823","details":"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\u003cN\u003e. In combination with \u003cuser_input\u003e.constantize there is a potential for a CPU-based DoS. In version 2.4.10 bindata improved the creation time of Bits and Integers.","aliases":["BIT-gitlab-2021-32823","GHSA-hj56-84jw-67h6"],"modified":"2026-10-30T10:46:00.330172249Z","published":"2021-06-24T00:15:08.103Z","database_specific":{},"references":[{"type":"ADVISORY","url":"https://about.gitlab.com/releases/2021/06/01/security-release-gitlab-13-12-2-released/#update-bindata-dependency"},{"type":"ADVISORY","url":"https://github.com/dmendel/bindata/blob/v2.4.10/ChangeLog.rdoc#version-2410-2021-05-18-"},{"type":"ADVISORY","url":"https://rubygems.org/gems/bindata"},{"type":"FIX","url":"https://github.com/dmendel/bindata/commit/d99f050b88337559be2cb35906c1f8da49531323"},{"type":"FIX","url":"https://github.com/rubysec/ruby-advisory-db/issues/476"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dmendel/bindata","events":[{"introduced":"0"},{"fixed":"de567f8cbdc6db612b51fe27eddf4c358548ce08"},{"fixed":"d99f050b88337559be2cb35906c1f8da49531323"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:bindata_project:bindata:*:*:*:*:*:ruby:*:*","range":[{"introduced":"0"},{"fixed":"2.4.10"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"d99f050b88337559be2cb35906c1f8da49531323"}]}]}}],"versions":["v2.4.9","v2.4.8","v2.4.7","v2.4.6","v2.4.5","v2.4.4","v2.4.3","v2.4.2","v2.4.1","v2.4.0","v2.3.5","v2.3.4","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.2.0","v2.1.0","v2.0.0","v1.8.0","v1.6.0","v1.5.1","1.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32823.json"}},{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"3b13818e8330f68625d80d9bf5d8049c41fbe197"},{"fixed":"7327f6c9bf4fa71bc518992f995cc7648c102c07"},{"introduced":"47f41a4a74f364c731aafd34a93bddb630f62230"},{"fixed":"d6e2cf8d41eceec30c20b921d9779bbd539ae594"},{"introduced":"12a3ec8fb4a540576b2d47247bc86ea7e2c7565b"},{"fixed":"865a93b831bfcc63d49d6f2d14ccfafe216e4a99"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"12.0"},{"fixed":"13.10.5"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*"},{"cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","range":[{"introduced":"12.0"},{"fixed":"13.10.5"}],"source":"CPE_RANGE"},{"range":[{"introduced":"13.11.0"},{"fixed":"13.11.5"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","range":[{"introduced":"13.11.0"},{"fixed":"13.11.5"}]},{"cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","range":[{"introduced":"13.12.0"},{"fixed":"13.12.2"}],"source":"CPE_RANGE"},{"range":[{"introduced":"13.12.0"},{"fixed":"13.12.2"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"}]}}],"versions":["v13.11.4-ee","v13.12.1-ee","v13.11.3-ee","v13.12.0-ee","v13.11.1-ee","v13.11.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32823.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}