{"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-09-11T03:45:08.246842720Z","published":"2021-06-24T00:15:08.103Z","database_specific":{"unresolved_ranges":[{"source":"CPE_RANGE","vendor_product":"gitlab:gitlab","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"],"extracted_events":[{"introduced":"12.0"},{"fixed":"13.10.5"},{"introduced":"12.0"},{"fixed":"13.10.5"},{"introduced":"13.11.0"},{"fixed":"13.11.5"},{"introduced":"13.11.0"},{"fixed":"13.11.5"},{"introduced":"13.12.0"},{"fixed":"13.12.2"},{"introduced":"13.12.0"},{"fixed":"13.12.2"}]}]},"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":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:bindata_project:bindata:*:*:*:*:*:ruby:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.4.10"}]}}],"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"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}