Bug 1594361 (CVE-2018-12615) - CVE-2018-12615 passenger: privilege lowering in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp
Summary: CVE-2018-12615 passenger: privilege lowering in switchGroup() in agent/ExecHe...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2018-12615
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: 1594418 1594419
Blocks: 1594362
TreeView+ depends on / blocked
 
Reported: 2018-06-22 17:30 UTC by Laura Pardo
Modified: 2021-02-17 00:05 UTC (History)
18 users (show)

Fixed In Version: passenger 5.3.2
Clone Of:
Environment:
Last Closed: 2019-06-10 10:29:55 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-06-22 17:30:00 UTC
An issue was discovered in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp in Phusion Passenger before 5.3.2. The set of groups (gidset) is not set correctly, leaving it up to randomness (i.e., uninitialized memory) in which supplementary groups are actually being set while lowering privileges.


References:
https://github.com/phusion/passenger/commit/4e97fdb86d0a0141ec9a052c6e691fcd07bb45c8

Comment 1 Laura Pardo 2018-06-22 21:33:39 UTC
Created passenger tracking bugs for this issue:

Affects: epel-7 [bug 1594419]
Affects: fedora-all [bug 1594418]

Comment 3 Riccardo Schirone 2018-10-23 12:24:12 UTC
Statement:

This issue did not affect the versions of rubygem-passenger as shipped with Red Hat Update Infrastructure as they did not include the vulnerable code, which was introduced in a newer version of the package.


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