[DRE-maint] Bug#990577: ruby-bindata: CVE-2021-32823

Salvatore Bonaccorso carnil at debian.org
Fri Jul 2 14:06:15 BST 2021


Source: ruby-bindata
Version: 2.4.8-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil at debian.org, Debian Security Team <team at security.debian.org>

Hi,

The following vulnerability was published for ruby-bindata.

CVE-2021-32823[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2021-32823
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32823
[1] https://github.com/dmendel/bindata/commit/d99f050b88337559be2cb35906c1f8da49531323
[2] https://github.com/dmendel/bindata/blob/v2.4.10/ChangeLog.rdoc#version-2410-2021-05-18-

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



More information about the Pkg-ruby-extras-maintainers mailing list