Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1313832

Summary: Upgrade rails to 4.1.14.2
Product: Red Hat Satellite Reporter: Tomer Brisker <tbrisker>
Component: ProvisioningAssignee: Tomer Brisker <tbrisker>
Status: CLOSED ERRATA QA Contact: sthirugn <sthirugn>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.4CC: bbuckingham, cwelton, ehelms, sthirugn
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/13977
Whiteboard:
Fixed In Version: x Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 09:03:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomer Brisker 2016-03-02 12:23:39 UTC
4.1.14.2 is a security release fixing two CVEs - http://weblog.rubyonrails.org/2016/2/29/Rails-4-2-5-2-4-1-14-2-3-2-22-2-have-been-released/ 
Rails should be upgraded.

Comment 1 Tomer Brisker 2016-03-02 12:23:41 UTC
Created from redmine issue http://projects.theforeman.org/issues/13977

Comment 4 sthirugn@redhat.com 2016-04-07 19:55:28 UTC
Failed in satellite-6.2.0-6.2.beta.el7sat.noarch

Version found in this install is rh-ror41-rubygem-rails-4.1.5-3.el7.noarch

I dont find the CVEs (CVE-2016-2097, CVE-2016-2098) mentioned in this bug in the changelog:

# rpm -q --changelog rh-ror41-rubygem-rails | grep CVE
- New version (fixes CVE-2008-4094)

Comment 5 Bryan Kearney 2016-04-07 20:08:32 UTC
Upstream bug component is Provisioning

Comment 6 Tomer Brisker 2016-04-10 07:38:14 UTC
Looks like the rails packaging has not been updated to use the correct version that is set in the gemfile. See also my comment on https://bugzilla.redhat.com/show_bug.cgi?id=1325632
Eric - any idea why this happened?

Comment 7 Bryan Kearney 2016-04-10 08:08:16 UTC
Upstream bug assigned to tbrisker

Comment 8 Bryan Kearney 2016-04-10 08:08:18 UTC
Upstream bug component is Provisioning

Comment 9 Tomer Brisker 2016-04-11 14:47:51 UTC
These CVEs have been applied in a different gem (one of rails' dependencies) - rh-ror41-rubygem-actionview 
Please retest.

Comment 10 sthirugn@redhat.com 2016-04-11 14:55:41 UTC
Verified in satellite-6.2.0-7.0.beta.el7sat.noarch

# rpm -q --changelog rh-ror41-rubygem-actionview | grep CVE
  Resolves: CVE-2016-2097
  Resolves: CVE-2016-2098
  - Resolves: CVE-2016-0752

Comment 12 errata-xmlrpc 2016-07-27 09:03:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1500