Live threats

All CVEs / Ruby-mysql Project

CVE-2021-3779Ruby-mysql Project Ruby-mysql

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
No
Published
Jun 28, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-610
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

What happens

A malicious MySQL server can request local file content from a client using ruby-mysql prior to version 2.10.0 without explicit authorization from the user. This issue was resolved in version 2.10.0 and later.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby-mysql.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems ruby-mysql < 2.10.0 2.10.0 gem "ruby-mysql", ">= 2.10.0"

Per OSV / GitHub Advisories (GHSA-73pr-g6jj-5hc9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ruby-mysql_projectruby-mysql< 2.10.0

Official sources

References

Links published by the sources. Open them with care.