Skip to content
Heist/ feed
Back to feed
LowFix available

ruby-bindata — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-32823

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. In combination with .constantize there is a potential for a CPU-based DoS. In version 2.4.10 bindata improved the creation time of Bits and Integers.

Products
ruby-bindata
Affected versions
Not specified
Fixed versions
2.4.14-1
CVEs
CVE-2021-32823
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 01:42 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-32823

core-osv · Original source

Published 24 Jun 2021, 00:15 UTC

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. In combination with .constantize there is a potential for a CPU-based DoS. In version 2.4.10 bindata improved the creation time of Bits and Integers.

osv:DEBIAN-CVE-2021-32823

ruby-bindata

Fixed versions: 2.4.14-1

ruby-bindata

Fixed versions: 2.4.14-1

ruby-bindata

Fixed versions: 2.4.14-1

Complete source record
{
  "id": "ea793a67691b301d2ec2698ef516e08723fab7bef117bc252d214c6d8a1fd0d2",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-32823",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-32823",
    "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. In combination with .constantize there is a potential for a CPU-based DoS. In version 2.4.10 bindata improved the creation time of Bits and Integers.",
    "evidence": "osv:DEBIAN-CVE-2021-32823",
    "products": [
      {
        "name": {
          "value": "ruby-bindata",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.4.14-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ruby-bindata",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.4.14-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ruby-bindata",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.4.14-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "low",
    "structured": {
      "id": "DEBIAN-CVE-2021-32823",
      "aliases": [
        "DEBIAN-CVE-2021-32823"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.4.14-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-bindata",
            "purl": "pkg:deb/debian/ruby-bindata?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-32823.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.4.14-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-bindata",
            "purl": "pkg:deb/debian/ruby-bindata?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-32823.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.4.14-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-bindata",
            "purl": "pkg:deb/debian/ruby-bindata?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-32823.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:04:49.953925124Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-32823"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-32823"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-32823",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 424028,
  "published_at": "2021-06-24T00:15:08.103+00:00"
}