logo

CVE-2021-32823 bindata

Package

Manager: gem
Name: bindata
Vulnerable Version: >=0 <2.4.10

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

EPSS: 0.00426 pctl0.6145

Details

Potential Denial-of-Service in bindata 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.

Metadata

Created: 2021-06-23T23:42:04Z
Modified: 2024-11-18T16:26:14Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-hj56-84jw-67h6/GHSA-hj56-84jw-67h6.json
CWE IDs: ["CWE-400"]
Alternative ID: GHSA-hj56-84jw-67h6
Finding: F002
Auto approve: 1