Advisory

GHSA-hj56-84jw-67h6

Also known as: BIT-gitlab-2021-32823, CVE-2021-32823

Summary

Potential Denial-of-Service in bindata

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-06-23 23:42 UTC
Modified
2024-11-21 05:24 UTC

Affected packages and fixes

bindata

RubyGems · All systems

Affected

  • introduced 0, fixed 2.4.10 (ecosystem)

Fixed versions

2.4.10

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences