Executive Summary

Summary
Title rubygem-passenger security update
Informations
Name RHSA-2013:1136 First vendor Publication 2013-08-05
Vendor RedHat Last vendor Modification 2013-08-05
Severity (Vendor) Moderate Revision 01

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:L/AC:L/Au:N/C:P/I:P/A:P)
Cvss Base Score 4.6 Attack Range Local
Cvss Impact Score 6.4 Attack Complexity Low
Cvss Expoit Score 3.9 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Problem Description:

Updated rubygem-passenger packages that fix two security issues are now available for Red Hat OpenShift Enterprise 1.2.2.

The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section.

2. Relevant releases/architectures:

RHOSE Infrastructure 2.1 - noarch, x86_64 RHOSE Node 1.2 - noarch, x86_64

3. Description:

rubygem-passenger is a web server for Ruby, Python and Node.js applications.

The rubygem-passenger gem created and re-used temporary directories and files in an insecure fashion. A local attacker could use these flaws to conduct a denial of service attack, take over the operation of the application or, potentially, execute arbitrary code with the privileges of the user running rubygem-passenger. (CVE-2013-2119, CVE-2013-4136)

Note: By default, OpenShift Enterprise uses polyinstantiation (per user) for the /tmp/ directory, thereby minimizing the risk and impact of exploitation by local attackers of both CVE-2013-2119 and CVE-2013-4136.

The CVE-2013-2119 issue was discovered by Michael Scherer of the Red Hat Regional IT team.

The following packages are included with this update as dependencies of the updated Ruby 1.8 passenger packages:

rubygem-spruz-0.2.5-4.el6op rubygem-file-tail-1.0.5-4.el6op

Users of Red Hat OpenShift Enterprise 1.2.2 are advised to upgrade to these updated packages, which correct these issues. After installing the updated packages, manual action is required before the update takes effect. Refer to the Solution section for details.

4. Solution:

Before applying this update, make sure all previously released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/site/articles/11258

Manual action is required for this update to take effect. In order for the updated passenger packages to be loaded by Ruby applications in the PaaS, the applications must be restarted with oo-admin-ctl-gears. One way to accomplish this is by running the following command, as a single line without the line break, on all OpenShift Nodes:

for rubyapp in `ls -d /var/lib/openshift/*/ruby | cut -f5 -d/`; do oo-admin-ctl-gears restartgear $rubyapp; done

If there are no Ruby applications on a Node it will simply fail with the message "No such file or directory". Another option is to run the following on all OpenShift Nodes; however, it will result in non-Ruby applications also being restarted:

oo-admin-ctl-gears restartall

(Note that without the manual action, if a user attempts to restart their Ruby application via the rhc command line, it will fail to start with a "Passenger could not be initialized..." error.)

5. Bugs fixed (http://bugzilla.redhat.com/):

892813 - CVE-2013-2119 rubygem-passenger: incorrect temporary file usage 985633 - CVE-2013-4136 rubygem-passenger: insecure temporary directory usage due to reuse of existing server instance directories

Original Source

Url : https://rhn.redhat.com/errata/RHSA-2013-1136.html

CWE : Common Weakness Enumeration

% Id Name
50 % CWE-264 Permissions, Privileges, and Access Controls
50 % CWE-59 Improper Link Resolution Before File Access ('Link Following')

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 95

Nessus® Vulnerability Scanner

Date Description
2013-07-31 Name : The remote Fedora host is missing a security update.
File : fedora_2013-13231.nasl - Type : ACT_GATHER_INFO
2013-07-31 Name : The remote Fedora host is missing a security update.
File : fedora_2013-13234.nasl - Type : ACT_GATHER_INFO
2013-07-31 Name : The remote Fedora host is missing a security update.
File : fedora_2013-13297.nasl - Type : ACT_GATHER_INFO
2013-07-12 Name : The remote Fedora host is missing a security update.
File : fedora_2013-9748.nasl - Type : ACT_GATHER_INFO
2013-07-12 Name : The remote Fedora host is missing a security update.
File : fedora_2013-9771.nasl - Type : ACT_GATHER_INFO
2013-07-12 Name : The remote Fedora host is missing a security update.
File : fedora_2013-9789.nasl - Type : ACT_GATHER_INFO
2013-06-02 Name : The remote FreeBSD host is missing a security-related update.
File : freebsd_pkg_1225549fca9111e2b3b8f0def16c5c1b.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
Date Informations
2014-01-07 13:22:08
  • Multiple Updates
2014-01-03 21:24:14
  • Multiple Updates
2013-10-11 00:22:43
  • Multiple Updates
2013-10-01 21:23:30
  • Multiple Updates
2013-10-01 17:23:01
  • Multiple Updates
2013-08-05 21:20:31
  • First insertion