LiveActive security incident?Get immediate response
CVE Record

CVE-2021-3779: Ruby-MySQL Gem Client File Read

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Ruby applications using the ruby-mysql gem before 2.10.0 could disclose local client files when connecting to a malicious MySQL server. The main business risk is unintended exposure of secrets or sensitive files from systems that initiate database connections.

Executive priority

Prioritize remediation where Ruby applications handle sensitive files or secrets and connect to external or less-trusted MySQL infrastructure. Otherwise, treat as a targeted dependency update.

Technical view

The issue is a client-side file read in ruby-mysql: a malicious MySQL server can request local file content from a vulnerable client without explicit user authorization. The source bundle identifies ruby-mysql 2.9.14 and states the flaw is fixed in 2.10.0 and later.

Likely exposure

Exposure is likely limited to Ruby systems that use the ruby-mysql gem before 2.10.0 and connect to untrusted, attacker-controlled, or compromised MySQL servers.

Exploitation context

The supplied sources do not show CISA KEV listing or confirmed active exploitation. Practical exploitation requires influencing a vulnerable client to connect to a malicious or compromised MySQL server.

Researcher notes

Severity data is incomplete in the supplied bundle: no CVSS score is provided. Validate exposure by dependency version and database trust boundaries, not by internet-facing service scans alone.

Mitigation direction

  • Upgrade ruby-mysql to version 2.10.0 or later.
  • Inventory Ruby applications and dependencies for ruby-mysql usage.
  • Avoid connecting vulnerable clients to untrusted MySQL servers.
  • Review vendor and project guidance for any additional hardening steps.

Validation and detection

  • Check dependency manifests and lockfiles for ruby-mysql versions before 2.10.0.
  • Confirm deployed Ruby environments use ruby-mysql 2.10.0 or later.
  • Identify applications connecting to third-party or unmanaged MySQL servers.
  • Review logs and configuration for unexpected database endpoints.
Prepared
Confidence
medium
Sources
3

Public sources used

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-610: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-3779 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Tomita Masahiroruby-mysql2.9.14Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-610 · source CWE mapping

Externally Controlled Reference to a Resource in Another Sphere

Externally Controlled Reference to a Resource in Another Sphere represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.