Fix bcrypt — CVE-2023-29197 HIGH
Fix CVE-2023-29197 (HIGH) in bcrypt for Ruby. Paste your Gemfile into PackageFix and get a patched version — no CLI, no signup. Timing attack in password comparison.
⚠ Vulnerability
CVE-2023-29197 (HIGH) — timing attack in password comparison in bcrypt versions below 3.1.20.
Vulnerable Version — Gemfile
gem 'bcrypt', '3.1.18'
Fixed Version — Gemfile
gem 'bcrypt', '3.1.20'
✓ Fix
Update bcrypt to 3.1.20 or later. Run bundle install to apply. Verify with your ecosystem's audit tool after updating.
Paste your manifest — get back a fixed version with all CVEs patched in seconds.
Open PackageFix →No signup · No CLI · No GitHub connection · Runs 100% in your browser
CVE Details
| Field | Value |
|---|---|
| CVE ID | CVE-2023-29197 |
| Severity | HIGH |
| Package | bcrypt (Ruby) |
| Vulnerable versions | Below 3.1.20 |
| Safe version | 3.1.20 |
| CISA KEV | — |
| Description | Timing attack in password comparison |
Frequently Asked Questions
What is CVE-2023-29197?
CVE-2023-29197 is a HIGH severity vulnerability in bcrypt (Ruby). It allows timing attack in password comparison. Update to version 3.1.20 or later to fix it.
How do I fix CVE-2023-29197 in bcrypt?
Update bcrypt to version 3.1.20 in your Gemfile. Run bundle install after updating to apply the fix.
Is CVE-2023-29197 being actively exploited?
Check the live CISA KEV catalog at packagefix.dev — PackageFix always reflects the current KEV status.
How do I check if I am affected by CVE-2023-29197?
Paste your Gemfile into PackageFix. If your installed version of bcrypt is below 3.1.20, you are affected. PackageFix shows the exact CVE ID and fix version.
What search queries does this page target?
This page covers: bcrypt CVE, bcrypt timing attack, bcrypt vulnerability Ruby.