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

Medium 6.5 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2021-3779?

CVE-2021-3779 is a medium-severity vulnerability in Tomita Masahiro ruby-mysql, published on 28 Jun 2022.

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.

Weakness: CWE-610

Which versions are affected by CVE-2021-3779?

2 open source packages ship an affected version, including ruby-mysql. It affects 1 product.

PackageAffectedFixed in
ruby-mysql RubyGemsAll versions2.10.0
ruby-mysql RubyGemsAll versions2.10.0

Products include Ruby-Mysql Project Ruby-Mysql.

How do I fix CVE-2021-3779?

Upgrade ruby-mysql to 2.10.0 or later.

Is CVE-2021-3779 being exploited?

There is no known exploitation of CVE-2021-3779 in the wild and no public exploit code.

Sources

Also known as GHSA-73pr-g6jj-5hc9, UBUNTU-CVE-2021-3779.

Is CVE-2021-3779 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free