{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-3779","id":"CVE-2021-3779","title":"Ruby-MySQL Gem Client File Read","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.","descriptionLong":"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.","published":"2022-06-28T16:30:15.611Z","updated":"2026-06-17T04:05:44.840Z","reserved":"2021-09-07T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"rapid7","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["Tomita Masahiro ruby-mysql"],"affectedProducts":[{"vendor":"Tomita Masahiro","product":"ruby-mysql","defaultStatus":null,"versions":[{"lessThanOrEqual":"2.9.14","status":"affected","version":"2.9.14","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-610"],"aliases":[],"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","x_transferred","Exploit","Mitigation","Third Party Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01221,"epssPercentile":0.69339,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-3779","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3779","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-3779","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-3779","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["mysql"],"critical":[],"attention":null}