{"id":"CVE-2021-3779","published":"2022-06-28T16:30:15Z","modified":"2024-09-17T00:16:17Z","title":"Ruby-MySQL Gem Client File Read","vendor":"Tomita Masahiro","product":"ruby-mysql","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01221,"percentile":0.69436,"provenance":"source"},"cwes":[{"id":"CWE-610","name":"Externally Controlled Reference to a Resource in Another Sphere"}],"references":[{"url":"https://www.rapid7.com/blog/post/2022/06/28/cve-2021-3779-ruby-mysql-gem-client-file-read-fixed/","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":13.89}]},"vendorSlug":"tomita-masahiro","affectedVersions":[{"vendor":"Tomita Masahiro","product":"ruby-mysql","versions":[">= 2.9.14, <= 2.9.14"]}],"solutions":{"items":["Update to version 2.10.0 or later of ruby-mysql"],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"ruby-mysql","vulnerableRanges":["<2.10.0"],"patched":["2.10.0"],"from":["GHSA-73pr-g6jj-5hc9"],"provenance":"source"}],"summary":{"text":"The flaw is in the ruby-mysql gem from Tomita Masahiro, where the client-side code can be made to read local files at the request of a remote server. A malicious MySQL server can request the contents of files on the client without the user explicitly authorizing it, and this is fixed in version 2.10.0 and later, while earlier versions are affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:18Z"},"euvd":{"id":"EUVD-2022-5970","exploited":false,"provenance":"source"}}