CVE-2021-3779Ruby-mysql Project Ruby-mysql
Medium 6.5 No auth needed
Follow: this CVE · Ruby-mysql Project · Ruby-mysql Project Ruby-mysql We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Ruby-mysql.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| ruby-mysql_project | ruby-mysql | < 2.10.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.rapid7.com Exploit Mitigation Third Party Advisory