Access Restriction Bypass Affecting ruby package, versions [,1.8.6)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
47.62% (98th 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-2370228
  • published26 Jan 2022
  • disclosed13 Aug 2008
  • creditUnknown

Introduced: 13 Aug 2008

CVE-2008-3655  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade ruby to version 1.8.6 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423 does not properly restrict access to critical variables and methods at various safe levels, which allows context-dependent attackers to bypass intended access restrictions via (1) untrace_var, (2) $PROGRAM_NAME, and (3) syslog at safe level 4, and (4) insecure methods at safe levels 1 through 3.

References

CVSS Scores

version 3.1