Is ruby-mysql 2.9 vulnerable?
RubyGems · 15 releases from 2.9.0 to 2.9.14 · latest ruby-mysql is 4.2.1 · checked 18 Nov 2026
Yes: 1 known advisory
Yes. ruby-mysql 2.9.14, the last 2.9 release, is affected by 1 known security advisory (1 medium), including CVE-2021-3779. Upgrade to 2.10.0 or later to fix all of them.
bundle update --conservative ruby-mysql # Gemfile: '>= 2.10.0'Is your project on an affected ruby-mysql?
Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting ruby-mysql 2.9.14
Externally Controlled Reference to a Resource in Another Sphere in ruby-mysql
- Affected
- <2.10.0
- Fixed in
- 2.10.0
Every ruby-mysql 2.9.x release
Affected: 2.9.0 to 2.9.14. Latest ruby-mysql: 4.2.1.
| Version | Known advisories |
|---|---|
| ruby-mysql 2.9.14 | CVE-2021-3779 |
| ruby-mysql 2.9.13 | CVE-2021-3779 |
| ruby-mysql 2.9.12 | CVE-2021-3779 |
| ruby-mysql 2.9.11 | CVE-2021-3779 |
| ruby-mysql 2.9.10 | CVE-2021-3779 |
| ruby-mysql 2.9.9 | CVE-2021-3779 |
| ruby-mysql 2.9.8 | CVE-2021-3779 |
| ruby-mysql 2.9.7 | CVE-2021-3779 |
| ruby-mysql 2.9.6 | CVE-2021-3779 |
| ruby-mysql 2.9.5 | CVE-2021-3779 |
| ruby-mysql 2.9.4 | CVE-2021-3779 |
| ruby-mysql 2.9.3 | CVE-2021-3779 |
| ruby-mysql 2.9.2 | CVE-2021-3779 |
| ruby-mysql 2.9.1 | CVE-2021-3779 |
| ruby-mysql 2.9.0 | CVE-2021-3779 |
Which of your client projects are still on ruby-mysql 2.9?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact ruby-mysql version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other ruby-mysql versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.