Access Restriction Bypass Affecting ruby-mysql package, versions <2.10.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (64th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-RUBYMYSQL-2936791
  • published29 Jun 2022
  • disclosed29 Jun 2022
  • creditHans-Martin Münch

Introduced: 29 Jun 2022

CVE-2021-3779  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade ruby-mysql to version 2.10.0 or higher.

Overview

ruby-mysql is a MySQL connector. pure Ruby version

Affected versions of this package are vulnerable to Access Restriction Bypass. A malicious MySQL server can request local file content from a client using without explicit authorization from the user.

CVSS Scores

version 3.1