Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-73pr-g6jj-5hc9: Externally Controlled Reference to a Resource in Another Sphere in ruby-mysql

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).

ghsa
#sql#git#ruby

Externally Controlled Reference to a Resource in Another Sphere in ruby-mysql

Moderate severity GitHub Reviewed Published Jun 29, 2022 • Updated Jul 5, 2022

Related news

CVE-2021-3779: CVE-2021-3779: Ruby-MySQL Gem Client File Read (FIXED)

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.