RHSA-2016:0455
Active ImportantRed Hat Security Advisory: ruby193 security update
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 6 records
Shared by all 6 CVE relationships
Exact relationship value
advisory_listExact field value
vulnerabilities[].cveExact evidence value
https://security.access.redhat.com/data/csaf/v2/advisories/2016/rhsa-2016_0455.json| CVE |
|---|
| CVE-2015-7576 |
| CVE-2015-7577 |
| CVE-2016-0751 |
| CVE-2016-0752 |
| CVE-2016-2097 |
| CVE-2016-2098 |
Description
Updated ruby193-rubygem-actionpack and ruby193-rubygem-activerecord packages that fix multiple security issues are now available for Red Hat Software Collections. Red Hat Product Security has rated this update as having Important 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.
Solution
Before applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258 https://access.redhat.com/errata/RHSA-2016:0455 Use following code to monkey-patch http_basic_authenticate_with method in ActionController: ~~~ module ActiveSupport module SecurityUtils def secure_compare(a, b) return false unless a.bytesize == b.bytesize l = a.unpack "C#{a.bytesize}" res = 0 b.each_byte { |byte| res |= byte ^ l.shift } res == 0 end module_function :secure_compare def variable_size_secure_compare(a, b) secure_compare(::Digest::SHA256.hexdigest(a), ::Digest::SHA256.hexdigest(b)) end module_function :variable_size_secure_compare end end module ActionController class Base def self.http_basic_authenticate_with(options = {}) before_action(options.except(:name, :password, :realm)) do authenticate_or_request_with_http_basic(options[:realm] || "Application") do |name, password| # This comparison uses & so that it doesn't short circuit and # uses `variable_size_secure_compare` so that length information # isn't leaked. ActiveSupport::SecurityUtils.variable_size_secure_compare(name, options[:name]) & ActiveSupport::SecurityUtils.variable_size_secure_compare(password, options[:password]) end end end end end ~~~ Use following code to monkey-patch mime types cache and disable caching. ``` require 'action_dispatch/http/mime_type' Mime.const_set :LOOKUP, Hash.new { |h,k| Mime::Type.new(k) unless k.blank? } ``` Alternatively perform filtering of mime types in the Accept header to allow only known types. Avoid passing untrusted input to render method, or verify the input using whitelist before passing it to the render method: ``` def index render verify_template(params[:id]) end private def verify_template(name) # add verification logic particular to your application here end ```
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 32 occurrences- Ecosystem
- RPM
-
1ruby193-rubygem-actionpackBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1)
- Fixed version
- 1:3.2.8-16.el7
Versions
- 1:3.2.8-16.el7
-
2ruby193-rubygem-actionpackSource package
Occurrence-specific details
- Package role
- Source package
- Architecture
- src
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1)
- Fixed version
- 1:3.2.8-16.el7
Versions
- 1:3.2.8-16.el7
-
3ruby193-rubygem-actionpack-docBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1)
- Fixed version
- 1:3.2.8-16.el7
Versions
- 1:3.2.8-16.el7
-
4ruby193-rubygem-activerecordBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1)
- Fixed version
- 1:3.2.8-11.el7
Versions
- 1:3.2.8-11.el7
-
5ruby193-rubygem-activerecordSource package
Occurrence-specific details
- Package role
- Source package
- Architecture
- src
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1)
- Fixed version
- 1:3.2.8-11.el7
Versions
- 1:3.2.8-11.el7
-
6ruby193-rubygem-activerecord-docBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1)
- Fixed version
- 1:3.2.8-11.el7
Versions
- 1:3.2.8-11.el7
-
7ruby193-rubygem-activesupportBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1)
- Fixed version
- 1:3.2.8-6.el7
Versions
- 1:3.2.8-6.el7
-
8ruby193-rubygem-activesupportSource package
Occurrence-specific details
- Package role
- Source package
- Architecture
- src
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1)
- Fixed version
- 1:3.2.8-6.el7
Versions
- 1:3.2.8-6.el7
-
9ruby193-rubygem-actionpackBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2)
- Fixed version
- 1:3.2.8-16.el7
Versions
- 1:3.2.8-16.el7
-
10ruby193-rubygem-actionpackSource package
Occurrence-specific details
- Package role
- Source package
- Architecture
- src
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2)
- Fixed version
- 1:3.2.8-16.el7
Versions
- 1:3.2.8-16.el7
-
11ruby193-rubygem-actionpack-docBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2)
- Fixed version
- 1:3.2.8-16.el7
Versions
- 1:3.2.8-16.el7
-
12ruby193-rubygem-activerecordBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2)
- Fixed version
- 1:3.2.8-11.el7
Versions
- 1:3.2.8-11.el7
-
13ruby193-rubygem-activerecordSource package
Occurrence-specific details
- Package role
- Source package
- Architecture
- src
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2)
- Fixed version
- 1:3.2.8-11.el7
Versions
- 1:3.2.8-11.el7
-
14ruby193-rubygem-activerecord-docBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2)
- Fixed version
- 1:3.2.8-11.el7
Versions
- 1:3.2.8-11.el7
-
15ruby193-rubygem-activesupportBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2)
- Fixed version
- 1:3.2.8-6.el7
Versions
- 1:3.2.8-6.el7
-
16ruby193-rubygem-activesupportSource package
Occurrence-specific details
- Package role
- Source package
- Architecture
- src
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2)
- Fixed version
- 1:3.2.8-6.el7
Versions
- 1:3.2.8-6.el7
-
17ruby193-rubygem-actionpackBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- Fixed version
- 1:3.2.8-16.el7
Versions
- 1:3.2.8-16.el7
-
18ruby193-rubygem-actionpackSource package
Occurrence-specific details
- Package role
- Source package
- Architecture
- src
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- Fixed version
- 1:3.2.8-16.el7
Versions
- 1:3.2.8-16.el7
-
19ruby193-rubygem-actionpack-docBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- Fixed version
- 1:3.2.8-16.el7
Versions
- 1:3.2.8-16.el7
-
20ruby193-rubygem-activerecordBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- Fixed version
- 1:3.2.8-11.el7
Versions
- 1:3.2.8-11.el7
-
21ruby193-rubygem-activerecordSource package
Occurrence-specific details
- Package role
- Source package
- Architecture
- src
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- Fixed version
- 1:3.2.8-11.el7
Versions
- 1:3.2.8-11.el7
-
22ruby193-rubygem-activerecord-docBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- Fixed version
- 1:3.2.8-11.el7
Versions
- 1:3.2.8-11.el7
-
23ruby193-rubygem-activesupportBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- Fixed version
- 1:3.2.8-6.el7
Versions
- 1:3.2.8-6.el7
-
24ruby193-rubygem-activesupportSource package
Occurrence-specific details
- Package role
- Source package
- Architecture
- src
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)
- Fixed version
- 1:3.2.8-6.el7
Versions
- 1:3.2.8-6.el7
-
25ruby193-rubygem-actionpackBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- Fixed version
- 1:3.2.8-16.el7
Versions
- 1:3.2.8-16.el7
-
26ruby193-rubygem-actionpackSource package
Occurrence-specific details
- Package role
- Source package
- Architecture
- src
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- Fixed version
- 1:3.2.8-16.el7
Versions
- 1:3.2.8-16.el7
-
27ruby193-rubygem-actionpack-docBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- Fixed version
- 1:3.2.8-16.el7
Versions
- 1:3.2.8-16.el7
-
28ruby193-rubygem-activerecordBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- Fixed version
- 1:3.2.8-11.el7
Versions
- 1:3.2.8-11.el7
-
29ruby193-rubygem-activerecordSource package
Occurrence-specific details
- Package role
- Source package
- Architecture
- src
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- Fixed version
- 1:3.2.8-11.el7
Versions
- 1:3.2.8-11.el7
-
30ruby193-rubygem-activerecord-docBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- Fixed version
- 1:3.2.8-11.el7
Versions
- 1:3.2.8-11.el7
-
31ruby193-rubygem-activesupportBinary package
Occurrence-specific details
- Package role
- Binary package
- Architecture
- noarch
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- Fixed version
- 1:3.2.8-6.el7
Versions
- 1:3.2.8-6.el7
-
32ruby193-rubygem-activesupportSource package
Occurrence-specific details
- Package role
- Source package
- Architecture
- src
- Component
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)
- Fixed version
- 1:3.2.8-6.el7
Versions
- 1:3.2.8-6.el7
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
| Scope | Version | Score | Severity | Source | Vector |
|---|---|---|---|---|---|
| redhat/RHEL-7/CVE-2015-7576 | 2.0 | 4.3 | Unknown | Red Hat Product Security | AV:N/AC:M/Au:N/C:P/I:N/A:N |
| redhat/RHEL-7/CVE-2015-7577 | 2.0 | 4.3 | Unknown | Red Hat Product Security | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| redhat/RHEL-7/CVE-2016-0751 | 2.0 | 4.3 | Unknown | Red Hat Product Security | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| redhat/RHEL-7/CVE-2016-0752 | 2.0 | 6.8 | Unknown | Red Hat Product Security | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| redhat/RHEL-7/CVE-2016-2097 | 2.0 | 6.8 | Unknown | Red Hat Product Security | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| redhat/RHEL-7/CVE-2016-2098 | 2.0 | 6.8 | Unknown | Red Hat Product Security | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Publisher references
36- https://access.redhat.com/errata/RHSA-2016:0455
- https://access.redhat.com/security/updates/classification/#important
- 1301933 https://bugzilla.redhat.com/show_bug.cgi?id=1301933
- 1301946 https://bugzilla.redhat.com/show_bug.cgi?id=1301946
- 1301957 https://bugzilla.redhat.com/show_bug.cgi?id=1301957
- 1301963 https://bugzilla.redhat.com/show_bug.cgi?id=1301963
- 1310043 https://bugzilla.redhat.com/show_bug.cgi?id=1310043
- 1310054 https://bugzilla.redhat.com/show_bug.cgi?id=1310054
- Canonical URL https://security.access.redhat.com/data/csaf/v2/advisories/2016/rhsa-2016_0455.json
- Canonical URL https://access.redhat.com/security/cve/CVE-2015-7576
- https://www.cve.org/CVERecord?id=CVE-2015-7576
- https://nvd.nist.gov/vuln/detail/CVE-2015-7576
- http://weblog.rubyonrails.org/2016/1/25/Rails-5-0-0-beta1-1-4-2-5-1-4-1-14-1-3-2-22-1-and-rails-html-sanitizer-1-0-3-have-been-released/
- https://groups.google.com/forum/#!msg/rubyonrails-security/ANv0HDHEC3k/mt7wNGxbFQAJ
- Canonical URL https://access.redhat.com/security/cve/CVE-2015-7577
- https://www.cve.org/CVERecord?id=CVE-2015-7577
- https://nvd.nist.gov/vuln/detail/CVE-2015-7577
- https://groups.google.com/forum/#!msg/rubyonrails-security/cawsWcQ6c8g/tegZtYdbFQAJ
- Canonical URL https://access.redhat.com/security/cve/CVE-2016-0751
- https://www.cve.org/CVERecord?id=CVE-2016-0751
- https://nvd.nist.gov/vuln/detail/CVE-2016-0751
- https://groups.google.com/forum/#!msg/rubyonrails-security/9oLY_FCzvoc/w9oI9XxbFQAJ
- Canonical URL https://access.redhat.com/security/cve/CVE-2016-0752
- https://www.cve.org/CVERecord?id=CVE-2016-0752
- https://nvd.nist.gov/vuln/detail/CVE-2016-0752
- https://groups.google.com/forum/#!msg/rubyonrails-security/335P1DcLG00/OfB9_LhbFQAJ
- https://nvisium.com/blog/2016/01/26/rails-dynamic-render-to-rce-cve-2016-0752/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- Canonical URL https://access.redhat.com/security/cve/CVE-2016-2097
- https://www.cve.org/CVERecord?id=CVE-2016-2097
- https://nvd.nist.gov/vuln/detail/CVE-2016-2097
- https://groups.google.com/forum/#!msg/rubyonrails-security/ddY6HgqB2z4/we0RasMZIAAJ
- Canonical URL https://access.redhat.com/security/cve/CVE-2016-2098
- https://www.cve.org/CVERecord?id=CVE-2016-2098
- https://nvd.nist.gov/vuln/detail/CVE-2016-2098
- https://groups.google.com/forum/#!msg/rubyonrails-security/ly-IH-fxr_Q/WLoOhcMZIAAJ
Provenance
- Schema version
- CSAF 2.0
- Parser version
- csaf-2.0-products-v3-indexed-evidence
- Data license
- CC-BY-4.0
- Attribution
- Red Hat Product Security
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| csaf_document | https://security.access.redhat.com/data/csaf/v2/advisories/2016/rhsa-2016_0455.json | Unknown | 090d550c4f14347c0ab1118f93502ffade3c7551266f65e4514c91e43bca9221 | csaf-2.0-products-v3-indexed-evidence | Unknown |