Access Restriction Bypass Affecting ruby package, versions [,1.8.7p371)[1.9.3286, 1.9.3p286)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.46% (76th 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 IDSNYK-UNMANAGED-RUBY-2370210
  • published26 Jan 2022
  • disclosed25 Apr 2013
  • creditUnknown

Introduced: 25 Apr 2013

CVE-2012-4466  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade ruby to version 1.8.7p371, 1.9.3p286 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. Ruby 1.8.7 before patchlevel 371, 1.9.3 before patchlevel 286, and 2.0 before revision r37068 allows context-dependent attackers to bypass safe-level restrictions and modify untainted strings via the name_err_mesg_to_str API function, which marks the string as tainted, a different vulnerability than CVE-2011-1005.

References

CVSS Scores

version 3.1