CVE-2021-3779 Ruby-MySQL Gem Client File Read
MediumCVSS 6.5
EPSS 1.2%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- Technology
- MySQLUbuntu
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.
Upgrade path
4 packages: 3 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/ruby-mysql(Ubuntu 16.04) | = 2.9.1-1build2; = 2.9.1-1build3; = 2.9.1-1build4; = 2.9.1-1build5 +2 more | No fix listed | No fix yet |
| ruby-mysql project ruby-mysql | < 2.10.0 | 2.10.0 | Fixed |
| rubygems ruby-mysql(RubyGems) | < 2.10.0; = 2.9.0; = 2.9.1; = 2.9.2 +12 more | 2.10.0 | Fixed |
| Tomita Masahiro ruby-mysql | >= 2.9.14, <= 2.9.14 | after 2.9.14 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems ruby-mysql(RubyGems) | < 2.10.0 | 2.10.0 |
| rubygems ruby-mysql(RubyGems) | = 2.9.0 | No fix listed |
| rubygems ruby-mysql(RubyGems) | = 2.9.1 | No fix listed |
| rubygems ruby-mysql(RubyGems) | = 2.9.10 | No fix listed |
| rubygems ruby-mysql(RubyGems) | = 2.9.11 | No fix listed |
| rubygems ruby-mysql(RubyGems) | = 2.9.12 | No fix listed |
| rubygems ruby-mysql(RubyGems) | = 2.9.13 | No fix listed |
| rubygems ruby-mysql(RubyGems) | = 2.9.14 | No fix listed |
| rubygems ruby-mysql(RubyGems) | = 2.9.2 | No fix listed |
| rubygems ruby-mysql(RubyGems) | = 2.9.3 | No fix listed |
| rubygems ruby-mysql(RubyGems) | = 2.9.4 | No fix listed |
| rubygems ruby-mysql(RubyGems) | = 2.9.5 | No fix listed |
| rubygems ruby-mysql(RubyGems) | = 2.9.6 | No fix listed |
| rubygems ruby-mysql(RubyGems) | = 2.9.7 | No fix listed |
| rubygems ruby-mysql(RubyGems) | = 2.9.8 | No fix listed |
| rubygems ruby-mysql(RubyGems) | = 2.9.9 | No fix listed |
| ruby-mysql project ruby-mysql | < 2.10.0 | 2.10.0 |
| Tomita Masahiro ruby-mysql | >= 2.9.14, <= 2.9.14 | No fix listed |
| ubuntu/ruby-mysql(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/ruby-mysql(Ubuntu:16.04) | = 2.9.1-1build2 | No fix listed |
| ubuntu/ruby-mysql(Ubuntu:16.04) | = 2.9.1-1build3 | No fix listed |
| ubuntu/ruby-mysql(Ubuntu:16.04) | = 2.9.1-1build4 | No fix listed |
| ubuntu/ruby-mysql(Ubuntu:16.04) | = 2.9.1-1build5 | No fix listed |
| ubuntu/ruby-mysql(Ubuntu:16.04) | = 2.9.1-1ubuntu1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- www.rapid7.com exploit issue-tracking mitigation third-party-advisory
- github.com exploit
- github.com
- github.com product
- ubuntu.com issue-tracking
- www.cve.org issue-tracking