Access Restriction Bypass Affecting ruby-libs package, versions <0:1.8.5-27.el5


Severity

Recommended
0.0
medium
0
10

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.39% (74th 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-ORACLE5-RUBYLIBS-2470996
  • published10 Apr 2022
  • disclosed24 Nov 2012

Introduced: 24 Nov 2012

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

How to fix?

Upgrade Oracle:5 ruby-libs to version 0:1.8.5-27.el5 or higher.
This issue was patched in ELSA-2013-0129.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-libs package and not the ruby-libs package as distributed by Oracle. See How to fix? for Oracle:5 relevant fixed versions and status.

The rb_get_path_check function in file.c in Ruby 1.9.3 before patchlevel 286 and Ruby 2.0.0 before r37163 allows context-dependent attackers to create files in unexpected locations or with unexpected names via a NUL byte in a file path.

CVSS Scores

version 3.1