what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Red Hat Security Advisory 2013-1136-01

Red Hat Security Advisory 2013-1136-01
Posted Aug 5, 2013
Authored by Red Hat | Site access.redhat.com

Red Hat Security Advisory 2013-1136-01 - 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. Note: By default, OpenShift Enterprise uses polyinstantiation for the /tmp/ directory, thereby minimizing the risk and impact of exploitation by local attackers of both CVE-2013-2119 and CVE-2013-4136.

tags | advisory, web, denial of service, arbitrary, local, python, ruby
systems | linux, redhat
advisories | CVE-2013-2119, CVE-2013-4136
SHA-256 | 145d2d1054ef84c2d2f4e31d12c8c8168fad64e9ee4bc03dff62ca5cafd2f4f6

Red Hat Security Advisory 2013-1136-01

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
Red Hat Security Advisory

Synopsis: Moderate: rubygem-passenger security update
Advisory ID: RHSA-2013:1136-01
Product: Red Hat OpenShift Enterprise
Advisory URL: https://rhn.redhat.com/errata/RHSA-2013-1136.html
Issue date: 2013-08-05
CVE Names: CVE-2013-2119 CVE-2013-4136
=====================================================================

1. Summary:

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

6. Package List:

RHOSE Infrastructure 2.1:

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHOSE/SRPMS/ruby193-rubygem-passenger-3.0.21-3.el6op.src.rpm
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHOSE/SRPMS/rubygem-file-tail-1.0.5-4.el6op.src.rpm
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHOSE/SRPMS/rubygem-passenger-3.0.21-3.el6op.src.rpm
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHOSE/SRPMS/rubygem-spruz-0.2.5-4.el6op.src.rpm

noarch:
rubygem-file-tail-1.0.5-4.el6op.noarch.rpm
rubygem-file-tail-doc-1.0.5-4.el6op.noarch.rpm
rubygem-spruz-0.2.5-4.el6op.noarch.rpm
rubygem-spruz-doc-0.2.5-4.el6op.noarch.rpm

x86_64:
mod_passenger-3.0.21-3.el6op.x86_64.rpm
ruby193-mod_passenger-3.0.21-3.el6op.x86_64.rpm
ruby193-rubygem-passenger-3.0.21-3.el6op.x86_64.rpm
ruby193-rubygem-passenger-debuginfo-3.0.21-3.el6op.x86_64.rpm
ruby193-rubygem-passenger-devel-3.0.21-3.el6op.x86_64.rpm
ruby193-rubygem-passenger-doc-3.0.21-3.el6op.x86_64.rpm
ruby193-rubygem-passenger-native-3.0.21-3.el6op.x86_64.rpm
ruby193-rubygem-passenger-native-libs-3.0.21-3.el6op.x86_64.rpm
rubygem-passenger-3.0.21-3.el6op.x86_64.rpm
rubygem-passenger-debuginfo-3.0.21-3.el6op.x86_64.rpm
rubygem-passenger-devel-3.0.21-3.el6op.x86_64.rpm
rubygem-passenger-doc-3.0.21-3.el6op.x86_64.rpm
rubygem-passenger-native-3.0.21-3.el6op.x86_64.rpm
rubygem-passenger-native-libs-3.0.21-3.el6op.x86_64.rpm

RHOSE Node 1.2:

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHOSE/SRPMS/ruby193-rubygem-passenger-3.0.21-3.el6op.src.rpm
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHOSE/SRPMS/rubygem-file-tail-1.0.5-4.el6op.src.rpm
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHOSE/SRPMS/rubygem-passenger-3.0.21-3.el6op.src.rpm
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHOSE/SRPMS/rubygem-spruz-0.2.5-4.el6op.src.rpm

noarch:
rubygem-file-tail-1.0.5-4.el6op.noarch.rpm
rubygem-file-tail-doc-1.0.5-4.el6op.noarch.rpm
rubygem-spruz-0.2.5-4.el6op.noarch.rpm
rubygem-spruz-doc-0.2.5-4.el6op.noarch.rpm

x86_64:
mod_passenger-3.0.21-3.el6op.x86_64.rpm
ruby193-mod_passenger-3.0.21-3.el6op.x86_64.rpm
ruby193-rubygem-passenger-3.0.21-3.el6op.x86_64.rpm
ruby193-rubygem-passenger-debuginfo-3.0.21-3.el6op.x86_64.rpm
ruby193-rubygem-passenger-devel-3.0.21-3.el6op.x86_64.rpm
ruby193-rubygem-passenger-doc-3.0.21-3.el6op.x86_64.rpm
ruby193-rubygem-passenger-native-3.0.21-3.el6op.x86_64.rpm
ruby193-rubygem-passenger-native-libs-3.0.21-3.el6op.x86_64.rpm
rubygem-passenger-3.0.21-3.el6op.x86_64.rpm
rubygem-passenger-debuginfo-3.0.21-3.el6op.x86_64.rpm
rubygem-passenger-devel-3.0.21-3.el6op.x86_64.rpm
rubygem-passenger-doc-3.0.21-3.el6op.x86_64.rpm
rubygem-passenger-native-3.0.21-3.el6op.x86_64.rpm
rubygem-passenger-native-libs-3.0.21-3.el6op.x86_64.rpm

These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2013-2119.html
https://www.redhat.com/security/data/cve/CVE-2013-4136.html
https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2013 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFR/9FWXlSAg2UNWIIRAjAlAJ9HkqI05eg3Y/cUnx2XdFoyb+mjCwCeNORH
gqfvObO/JKHc3PWnidY3UVM=
=Eq2G
-----END PGP SIGNATURE-----


--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    16 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close