Skip to main content
← All vulnerabilities
CVE-2021-32823GHSA-HJ56-84JW-67H6BIT-GITLAB-2021-32823

Potential Denial-of-Service in bindata

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.4.10
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • dmendel bindata

    fixed in 2.4.10

  • bindataRubyGems

    fixed in 2.4.10

References 5

GitHub · dmendel/bindata

GitHub · rubysec/ruby-advisory-db

about.gitlab.com

rubygems.org