Vulnerability Name:

CVE-2009-5147 (CCN-134120)

Assigned:2015-07-28
Published:2015-07-28
Updated:2018-03-28
Summary:DL::dlopen in Ruby 1.8, 1.9.0, 1.9.2, 1.9.3, 2.0.0 before patchlevel 648, and 2.1 before 2.1.8 opens libraries with tainted names.
CVSS v3 Severity:7.3 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
6.4 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-20
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2009-5147

Source: CCN
Type: oss-sec Mailing List, Tue, 28 Jul 2015 08:27:24 -0400 (EDT)
Re: CVE request: Two ruby 'dl' vulnerabilities fixed in ruby-1.9.1-p129

Source: MLIST
Type: Patch, Third Party Advisory, VDB Entry
[oss-security] 20150728 Re: CVE request: Two ruby 'dl' vulnerabilities fixed in ruby-1.9.1-p129

Source: BID
Type: Third Party Advisory, VDB Entry
76060

Source: CCN
Type: BID-76060
Ruby 'dl/handle.c' Security Bypass Vulnerability

Source: REDHAT
Type: UNKNOWN
RHSA-2018:0583

Source: CONFIRM
Type: Issue Tracking, Patch, Third Party Advisory, VDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=1248935

Source: XF
Type: UNKNOWN
ruby-cve20095147-sec-bypass(134120)

Source: CCN
Type: ruby GIT Repository
ext/dl/dl.c (rb_dlhandle_initialize): prohibits DL::dlopen

Source: CONFIRM
Type: Patch, Third Party Advisory
https://github.com/ruby/ruby/commit/4600cf725a86ce31266153647ae5aa1197b1215b

Source: CONFIRM
Type: Vendor Advisory
https://www.ruby-lang.org/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2009-5147

Vulnerable Configuration:Configuration 1:
  • cpe:/a:ruby-lang:ruby:1.8.0:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.0:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:p195:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:p247:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:p353:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:p481:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:p576:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:p594:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:p598:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:p643:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:p645:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.0.0:p647:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.1.0:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.1.2:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.1.3:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.1.4:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.1.5:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.1.6:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:2.1.7:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:ruby-lang:ruby:1.9.0:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*
  • OR cpe:/a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*
  • OR cpe:/a:airbrake:airbrake_ruby:2.0.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.precise:def:20095147000
    V
    CVE-2009-5147 on Ubuntu 12.04 LTS (precise) - low.
    2017-03-29
    oval:com.ubuntu.trusty:def:20095147000
    V
    CVE-2009-5147 on Ubuntu 14.04 LTS (trusty) - low.
    2017-03-29
    oval:com.ubuntu.xenial:def:20095147000
    V
    CVE-2009-5147 on Ubuntu 16.04 LTS (xenial) - low.
    2017-03-29
    oval:com.ubuntu.xenial:def:200951470000000
    V
    CVE-2009-5147 on Ubuntu 16.04 LTS (xenial) - low.
    2017-03-29
    BACK
    ruby-lang ruby 1.8.0
    ruby-lang ruby 1.9.0
    ruby-lang ruby 1.9.2
    ruby-lang ruby 1.9.3
    ruby-lang ruby 2.0.0
    ruby-lang ruby 2.0.0 p195
    ruby-lang ruby 2.0.0 p247
    ruby-lang ruby 2.0.0 p353
    ruby-lang ruby 2.0.0 p481
    ruby-lang ruby 2.0.0 p576
    ruby-lang ruby 2.0.0 p594
    ruby-lang ruby 2.0.0 p598
    ruby-lang ruby 2.0.0 p643
    ruby-lang ruby 2.0.0 p645
    ruby-lang ruby 2.0.0 p647
    ruby-lang ruby 2.1.0
    ruby-lang ruby 2.1.1
    ruby-lang ruby 2.1.2
    ruby-lang ruby 2.1.3
    ruby-lang ruby 2.1.4
    ruby-lang ruby 2.1.5
    ruby-lang ruby 2.1.6
    ruby-lang ruby 2.1.7
    ruby-lang ruby 1.9.0
    ruby-lang ruby 1.9.2
    ruby-lang ruby 1.9.3
    airbrake airbrake ruby 2.0.0