Bug 1187692 - (CVE-2021-32823) VUL-1: CVE-2021-32823: rubygem-bindata: In version before 2.4.10 there is a potential denial-of-service vulnerability.
(CVE-2021-32823)
VUL-1: CVE-2021-32823: rubygem-bindata: In version before 2.4.10 there is a p...
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Apache
Leap 15.2
Other Other
: P4 - Low : Minor (vote)
: ---
Assigned To: Stephan Kulow
Security Team bot
https://smash.suse.de/issue/302850/
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-06-24 14:35 UTC by Gianluca Gabrielli
Modified: 2021-06-24 17:24 UTC (History)
0 users

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gianluca Gabrielli 2021-06-24 14:35:41 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<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:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-32823
https://github.com/dmendel/bindata/blob/v2.4.10/ChangeLog.rdoc#version-2410-2021-05-18-
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32823
https://github.com/rubysec/ruby-advisory-db/issues/476
https://github.com/dmendel/bindata/commit/d99f050b88337559be2cb35906c1f8da49531323
https://rubygems.org/gems/bindata
https://about.gitlab.com/releases/2021/06/01/security-release-gitlab-13-12-2-released/#update-bindata-dependency
Comment 1 Gianluca Gabrielli 2021-06-24 14:36:16 UTC
Affected package:
 - openSUSE:Factory/rubygem-bindata 2.4.8

Please upgrade to the latest version.
Comment 2 Stephan Kulow 2021-06-24 17:24:42 UTC
https://build.opensuse.org/request/show/901966