Bug 985633 (CVE-2013-4136) - CVE-2013-4136 rubygem-passenger: insecure temporary directory usage due to reuse of existing server instance directories
Summary: CVE-2013-4136 rubygem-passenger: insecure temporary directory usage due to re...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2013-4136
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 985634 988512 988513
Blocks: 892814
TreeView+ depends on / blocked
 
Reported: 2013-07-18 00:09 UTC by Vincent Danen
Modified: 2019-09-29 13:06 UTC (History)
9 users (show)

Fixed In Version: Phusion Passenger 4.0.8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-07 05:14:05 UTC
Embargoed:


Attachments (Terms of Use)
4.0.8 commits backported to 3.0.21 (6.05 KB, patch)
2013-07-18 14:50 UTC, Troy Dawson
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:1136 0 normal SHIPPED_LIVE Moderate: rubygem-passenger security update 2013-08-05 19:51:26 UTC

Description Vincent Danen 2013-07-18 00:09:32 UTC
It was reported [1],[2] that Phusion Passenger would reuse existing server instance directories (temporary directories) which could cause Passenger to remove or overwrite files belonging to other instances.  This has been corrected in upstream version 4.0.8 [3] via two fixes (the initial fix [4] and a regression fix [5]; both are required to fully fix the issue).  This is an issue similar to CVE-2013-2119.

[1] http://www.openwall.com/lists/oss-security/2013/07/15/2
[2] https://code.google.com/p/phusion-passenger/issues/detail?id=910
[3] http://blog.phusion.nl/2013/07/09/phusion-passenger-4-0-8-released/
[4] https://github.com/phusion/passenger/commit/5483b3292cc2af1c83033eaaadec20dba4dcfd9b
[5] https://github.com/phusion/passenger/commit/9dda49f4a3ebe9bafc48da1bd45799f30ce19566

Comment 1 Vincent Danen 2013-07-18 00:13:39 UTC
Created rubygem-passenger tracking bugs for this issue:

Affects: fedora-all [bug 985634]

Comment 2 Troy Dawson 2013-07-18 14:50:50 UTC
Created attachment 775343 [details]
4.0.8 commits backported to 3.0.21

Both commits to the 4.0.x branch backported fairly well into 3.0.21.
This is a combination of both commits into one patch.

Comment 4 Fedora Update System 2013-07-30 17:29:08 UTC
rubygem-passenger-3.0.21-4.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2013-07-30 17:32:05 UTC
rubygem-passenger-3.0.21-4.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-07-30 17:50:23 UTC
rubygem-passenger-3.0.21-4.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 errata-xmlrpc 2013-08-05 15:54:08 UTC
This issue has been addressed in following products:

  RHEL 6 Version of OpenShift Enterprise 1.2

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

Comment 8 Fedora Update System 2013-08-05 23:31:13 UTC
rubygem-passenger-3.0.21-4.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.