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.

Upgrade with:bundle update --conservative ruby-mysql # Gemfile: '>= 2.10.0'

Is your project on an affected ruby-mysql?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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

  • MediumCVE-2021-3779GHSA-73pr-g6jj-5hc929 Jun 2022

    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.

VersionKnown advisories
ruby-mysql 2.9.14CVE-2021-3779
ruby-mysql 2.9.13CVE-2021-3779
ruby-mysql 2.9.12CVE-2021-3779
ruby-mysql 2.9.11CVE-2021-3779
ruby-mysql 2.9.10CVE-2021-3779
ruby-mysql 2.9.9CVE-2021-3779
ruby-mysql 2.9.8CVE-2021-3779
ruby-mysql 2.9.7CVE-2021-3779
ruby-mysql 2.9.6CVE-2021-3779
ruby-mysql 2.9.5CVE-2021-3779
ruby-mysql 2.9.4CVE-2021-3779
ruby-mysql 2.9.3CVE-2021-3779
ruby-mysql 2.9.2CVE-2021-3779
ruby-mysql 2.9.1CVE-2021-3779
ruby-mysql 2.9.0CVE-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.