RubyGems (Ruby)Worst: Moderate1 advisory

bcrypt: known vulnerabilities

bcrypt has 1 reviewed security advisory in the GitHub Advisory Database — 1 moderate. The most recent was published 2026-03-24. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the bcrypt versions running across your servers, containers and images, and ranks what to patch first.

How to fix bcrypt

Upgrade bcrypt to a release at or above the fixed version shown for each advisory below. For RubyGems (Ruby):

bundle update bcrypt to 3.1.22 (or gem install bcrypt -v 3.1.22)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (1)

bcrypt-ruby has an Integer Overflow that Causes Zero Key-Strengthening Iterations at Cost=31 on JRuby Moderate CWE-190 — Affected: before 3.1.22. Fixed in 3.1.22. Published 2026-03-24. GHSA-f27w-vcwj-c954 · CVE-2026-33306

Find bcrypt across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.