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


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.95% (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 IDSNYK-RHEL6-RUBYTCLTK-1434133
  • published26 Jul 2021
  • disclosed2 Jul 2011

Introduced: 2 Jul 2011

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

How to fix?

Upgrade RHEL:6 ruby-tcltk to version 0:1.8.7.352-3.el6 or higher.
This issue was patched in RHSA-2011:1581.

NVD Description

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