ubuntu-cve-2021-32823
Vulnerability from osv_ubuntu
Published
2021-06-24 00:15
Modified
2026-05-20 14:53
Summary
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. 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.
Severity
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-bindata",
"binary_version": "2.3.5-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "ruby-bindata",
"purl": "pkg:deb/ubuntu/ruby-bindata@2.3.5-1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.3.5-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-bindata",
"binary_version": "2.3.5-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "ruby-bindata",
"purl": "pkg:deb/ubuntu/ruby-bindata@2.3.5-1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.3.5-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-bindata",
"binary_version": "2.4.8-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "ruby-bindata",
"purl": "pkg:deb/ubuntu/ruby-bindata@2.4.8-2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.4.8-1",
"2.4.8-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-bindata",
"binary_version": "2.4.14-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "ruby-bindata",
"purl": "pkg:deb/ubuntu/ruby-bindata@2.4.14-1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.4.14-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-bindata",
"binary_version": "2.4.14-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "ruby-bindata",
"purl": "pkg:deb/ubuntu/ruby-bindata@2.4.14-1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.4.14-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-bindata",
"binary_version": "2.5.1-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "ruby-bindata",
"purl": "pkg:deb/ubuntu/ruby-bindata@2.5.1-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.4.14-1",
"2.5.1-1"
]
}
],
"aliases": [],
"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.",
"id": "UBUNTU-CVE-2021-32823",
"modified": "2026-05-20T14:53:21Z",
"published": "2021-06-24T00:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-32823"
},
{
"type": "REPORT",
"url": "https://about.gitlab.com/releases/2021/06/01/security-release-gitlab-13-12-2-released/#update-bindata-dependency"
},
{
"type": "REPORT",
"url": "https://github.com/rubysec/ruby-advisory-db/issues/476"
},
{
"type": "REPORT",
"url": "https://github.com/dmendel/bindata/commit/d99f050b88337559be2cb35906c1f8da49531323"
},
{
"type": "REPORT",
"url": "https://github.com/dmendel/bindata/blob/v2.4.10/ChangeLog.rdoc#version-2410-2021-05-18-"
},
{
"type": "REPORT",
"url": "https://rubygems.org/gems/bindata"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-32823"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2021-32823"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
Loading…
Loading…