CVE-2021-32823

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-32823
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32823.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-32823
Aliases
Related
Published
2021-06-24T00:15:08Z
Modified
2024-09-18T03:14:39.443865Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
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.

References

Affected packages

Debian:11 / ruby-bindata

Package

Name
ruby-bindata
Purl
pkg:deb/debian/ruby-bindata?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.4.8-1
2.4.8-2
2.4.14-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / ruby-bindata

Package

Name
ruby-bindata
Purl
pkg:deb/debian/ruby-bindata?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.14-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / ruby-bindata

Package

Name
ruby-bindata
Purl
pkg:deb/debian/ruby-bindata?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.14-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/dmendel/bindata

Affected ranges

Type
GIT
Repo
https://github.com/dmendel/bindata
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.5.0

v1.*

v1.5.1
v1.6.0
v1.8.0

v2.*

v2.0.0
v2.1.0
v2.2.0
v2.3.0
v2.3.1
v2.3.2
v2.3.3
v2.3.4
v2.3.5
v2.4.0
v2.4.1
v2.4.2
v2.4.3
v2.4.4
v2.4.5
v2.4.6
v2.4.7
v2.4.8
v2.4.9