ghsa-73pr-g6jj-5hc9
Vulnerability from github
Published
2022-06-29 00:00
Modified
2022-07-08 17:05
Severity ?
VLAI Severity ?
Summary
Externally Controlled Reference to a Resource in Another Sphere in ruby-mysql
Details
A malicious actor can read arbitrary files from a client that uses ruby-mysql to communicate to a rogue MySQL server and issue database queries. In these cases, the server has the option to create a database reply using the LOAD DATA LOCAL statement, which instructs the client to provide additional data from a local file readable by the client (and not a "local" file on the server).
{ "affected": [ { "package": { "ecosystem": "RubyGems", "name": "ruby-mysql" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.10.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2021-3779" ], "database_specific": { "cwe_ids": [ "CWE-610" ], "github_reviewed": true, "github_reviewed_at": "2022-07-05T22:08:34Z", "nvd_published_at": "2022-06-28T17:15:00Z", "severity": "MODERATE" }, "details": "A malicious actor can read arbitrary files from a client that uses ruby-mysql to communicate to a rogue MySQL server and issue database queries. In these cases, the server has the option to create a database reply using the LOAD DATA LOCAL statement, which instructs the client to provide additional data from a local file readable by the client (and not a \"local\" file on the server).", "id": "GHSA-73pr-g6jj-5hc9", "modified": "2022-07-08T17:05:08Z", "published": "2022-06-29T00:00:27Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3779" }, { "type": "WEB", "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-mysql/CVE-2021-3779.yml" }, { "type": "WEB", "url": "https://www.rapid7.com/blog/post/2022/06/28/cve-2021-3779-ruby-mysql-gem-client-file-read-fixed" }, { "type": "PACKAGE", "url": "http://github.com/tmtm/ruby-mysql" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N", "type": "CVSS_V3" } ], "summary": "Externally Controlled Reference to a Resource in Another Sphere in ruby-mysql" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…