Vulnerability · Published Jun 28, 2022 · Assigned by rapid7

CVE-2021-3779Ruby-MySQL Gem Client File Read

Medium 6.5

In plain English

A medium-severity security flaw in ruby-mysql from Tomita Masahiro. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)1.2%top 31.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
RubyGemsruby-mysql2.10.0GHSA-73pr-g6jj-5hc9

Affected products (as reported)

VendorProductVersions
Tomita Masahiro ruby-mysql 2.9.14 – through 2.9.14

Weakness: CWE-610

References