CVE-2021-3779 Ruby-MySQL Gem Client File Read
- 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.
| Package | Affected | Fixed in |
|---|---|---|
ruby-mysql RubyGems | All versions | 2.10.0 |
ruby-mysql RubyGems | All versions | 2.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.