Access Restriction Bypass Affecting ruby1.9.1 package, versions <1.9.3.0-1ubuntu2.4


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu 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-UBUNTU1204-RUBY191-321156
  • published24 Nov 2012
  • 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 Ubuntu:12.04 ruby1.9.1 to version 1.9.3.0-1ubuntu2.4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby1.9.1 package and not the ruby1.9.1 package as distributed by Ubuntu. See How to fix? for Ubuntu:12.04 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