binary-search_tree (RubyGems) · Malicious Code
Affects binary-search_treeSource GCVE Database
Malicious package : remove binary-search_tree and rotate any secrets on hosts that installed it.
Data as of 19 Jul 2026, 00:48 UTC
Malicious package
Published to RubyGems · OSV MAL-2024-6780
What to do
Remove binary-search_tree from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
RubyGemsbinary-search_treepkg:gem/binary-search_treeOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The RubyGems package 'binary-search_tree' version 2.2 contains malicious code. This is identified as a supply chain threat where the package itself is intentionally harmful. No CVSS score is available for this issue.