Access Restriction Bypass Affecting ruby-rdoc package, versions <0:1.8.7.371-1.20.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
2.62% (84th 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-AMZN201803-RUBYRDOC-1666157
  • published27 Sept 2021
  • disclosed25 Apr 2013

Introduced: 25 Apr 2013

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

How to fix?

Upgrade Amazon-Linux:2018.03 ruby-rdoc to version 0:1.8.7.371-1.20.amzn1 or higher.
This issue was patched in ALAS-2012-139.

NVD Description

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

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.

CVSS Base Scores

version 3.1