{"id":"CVE-2021-32823","aliases":["BIT-gitlab-2021-32823","GHSA-hj56-84jw-67h6"],"url":"https://o3.security/vulnerability/CVE-2021-32823","summary":"Potential Denial-of-Service in bindata","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<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.","published":"2021-06-24T00:15:08.103Z","modified":"2026-08-27T19:34:09.730556Z","cvss":{"score":3.7,"severity":"LOW","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"RubyGems","name":"bindata","fixedVersion":"2.4.10"}],"fix":{"url":"https://github.com/dmendel/bindata/commit/d99f050b88337559be2cb35906c1f8da49531323","label":"dmendel/bindata@d99f050"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-27T19:34:09.730556Z"}}