{"id":"CVE-2021-32823","aliases":["BIT-gitlab-2021-32823","DEBIAN-CVE-2021-32823","EUVD-2021-1335","GHSA-hj56-84jw-67h6","UBUNTU-CVE-2021-32823"],"status":"published","title":"Potential Denial-of-Service in bindata","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\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.","severity":{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01866,"percentile":0.79472,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2021-06-23T23:40:12Z","modified":"2026-10-30T10:46:00Z","fixes":[{"ecosystem":"RubyGems","package":"bindata","fixed_in":["2.4.10"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["13.10.5","13.11.5","13.12.2"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"ruby-bindata","fixed_in":["2.4.14-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ruby-bindata","fixed_in":["2.4.14-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ruby-bindata","fixed_in":["2.4.14-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"bindata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.10"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"12.0.0"},{"fixed":"13.10.5"},{"introduced":"13.11.0"},{"fixed":"13.11.5"},{"introduced":"13.12.0"},{"fixed":"13.12.2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ruby-bindata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.14-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ruby-bindata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.14-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ruby-bindata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.14-1"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"bindata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.10"}]}],"versions":["0.10.0","0.11.0","0.11.1","0.5.0","0.5.1","0.6.0","0.7.0","0.8.0","0.8.1","0.9.0","0.9.1","0.9.2","0.9.3","1.0.0","1.1.0","1.2.0","1.2.1","1.2.2","1.3.1","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.5.0","1.5.1","1.6.0","1.8.0","1.8.1","1.8.2","1.8.3","2.0.0","2.1.0","2.2.0","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","2.4.9"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"ruby-bindata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.5-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ruby-bindata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.5-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ruby-bindata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.8-1","2.4.8-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"ruby-bindata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.14-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"ruby-bindata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.14-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"ruby-bindata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.1-1","2.5.1-2","3.0.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"ruby-bindata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.14-1","2.5.1-1"]}],"products":[{"vendor":"bindata_project","product":"bindata"},{"vendor":"dmendel","product":"bindata"},{"vendor":"gitlab","product":"gitlab"}],"references":[{"url":"https://github.com/dmendel/bindata/commit/d99f050b88337559be2cb35906c1f8da49531323","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","advisory","fix","web","report"]},{"url":"https://github.com/rubysec/ruby-advisory-db/issues/476","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","advisory","fix","web","report"]},{"url":"https://about.gitlab.com/releases/2021/06/01/security-release-gitlab-13-12-2-released/#update-bindata-dependency","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://rubygems.org/gems/bindata","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://github.com/dmendel/bindata/blob/v2.4.10/ChangeLog.rdoc#version-2410-2021-05-18-","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://github.com/dmendel/bindata/blob/master/ChangeLog.rdoc#version-2410-2021-05-18-","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32823","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-hj56-84jw-67h6"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-32823","tags":["advisory"]},{"url":"https://github.com/dmendel/bindata","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2021-32823","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32823","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-32823","title":"Potential Denial-of-Service in bindata","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\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.","status":"published","published":"2021-06-23T23:40:12Z","modified":"2024-08-03T23:33:55.878Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low","assessor":"cna"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:33:07.349244Z"}],"euvd":[{"id":"EUVD-2021-1335","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\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.","status":"published","published":"2021-06-23T23:40:12Z","modified":"2024-08-03T23:33:55Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-03T03:24:35.855495Z"}],"ghsa":[{"id":"GHSA-hj56-84jw-67h6","title":"Potential Denial-of-Service in bindata","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\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.\n\n","status":"published","published":"2021-06-23T23:42:04Z","modified":"2024-11-18T16:26:15Z","cvss":[{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:38:19.029049Z"}],"nvd":[{"id":"CVE-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\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.","status":"published","published":"2021-06-24T00:15:08.103Z","modified":"2026-06-17T03:53:42.24Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low","assessor":"secondary"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:06:54.892562Z"}],"osv":[{"id":"CVE-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\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.","status":"published","published":"2021-06-24T00:15:08.103Z","modified":"2026-10-30T10:46:00.330172249Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-02T15:44:19.793849Z"},{"id":"DEBIAN-CVE-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\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.","status":"published","published":"2021-06-24T00:15:08.103Z","modified":"2026-10-23T18:04:49.953925124Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-02T15:45:35.233346Z"},{"id":"GHSA-hj56-84jw-67h6","title":"Potential Denial-of-Service in bindata","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\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.\n\n","status":"published","published":"2021-06-23T23:42:04Z","modified":"2024-11-21T05:24:40.410364Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low"},{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:49.28217Z"},{"id":"UBUNTU-CVE-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\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.","status":"published","published":"2021-06-24T00:15:00Z","modified":"2026-10-17T12:55:46.654505062Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-02T15:54:27.332852Z"},{"id":"BIT-gitlab-2021-32823","title":"Potential Denial-of-Service in bindata","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\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.","status":"published","published":"2024-03-06T11:18:52.964Z","modified":"2026-09-08T08:47:37.926024394Z","updated_at":"2026-11-02T15:28:29.999658Z"}]}}
