Improper Input Validation Affecting ruby-devel package, versions <0:1.8.7.352-3.el6


Severity

Recommended
low

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.52% (78th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE6-RUBYDEVEL-2463286
  • published10 Apr 2022
  • disclosed5 Aug 2011

Introduced: 5 Aug 2011

CVE-2011-2705  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Oracle:6 ruby-devel to version 0:1.8.7.352-3.el6 or higher.
This issue was patched in ELSA-2011-1581.

NVD Description

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

The SecureRandom.random_bytes function in lib/securerandom.rb in Ruby before 1.8.7-p352 and 1.9.x before 1.9.2-p290 relies on PID values for initialization, which makes it easier for context-dependent attackers to predict the result string by leveraging knowledge of random strings obtained in an earlier process with the same PID.

CVSS Base Scores

version 3.1