CVSS 3.0
3.7 lowCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NLow (3.7) in rubyonrails. EPSS 4.9% estimated probability of exploitation activity in the next 30 days. Fixed in actionpack 3.2.22.1, 4.1.14.1.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:Nactionpack (RubyGems): fixed in 3.2.22.1, 4.1.14.1Explain CVE-2015-7576 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-7576?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-7576?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-7576 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| rubyonrails:rails | 4.0.0 |
| rubyonrails:rails | 4.0.0:beta |
| rubyonrails:rails | 4.0.0:rc1 |
| rubyonrails:rails | 4.0.0:rc2 |
| rubyonrails:rails | 4.0.1 |
| rubyonrails:rails | 4.0.1:rc1 |
| rubyonrails:rails | 4.0.1:rc2 |
| rubyonrails:rails | 4.0.1:rc3 |
| rubyonrails:rails | 4.0.1:rc4 |
| rubyonrails:rails | 4.0.2 |
| rubyonrails:rails | 4.0.3 |
| rubyonrails:rails | 4.0.4 |
| rubyonrails:rails | 4.0.4:rc1 |
| rubyonrails:rails | 4.0.5 |
| rubyonrails:rails | 4.0.6 |
| rubyonrails:rails | 4.0.6:rc1 |
| rubyonrails:rails | 4.0.6:rc2 |
| rubyonrails:rails | 4.0.6:rc3 |
| rubyonrails:rails | 4.0.7 |
| rubyonrails:rails | 4.0.8 |
| rubyonrails:rails | 4.0.9 |
| rubyonrails:rails | 4.0.10 |
| rubyonrails:rails | 4.0.10:rc1 |
| rubyonrails:rails | 4.1.0 |
| rubyonrails:rails | 4.1.0:beta1 |
| rubyonrails:rails | 4.1.0:beta2 |
| rubyonrails:rails | 4.1.0:rc1 |
| rubyonrails:rails | 4.1.0:rc2 |
| rubyonrails:rails | 4.1.1 |
| rubyonrails:rails | 4.1.2 |
| rubyonrails:rails | 4.1.2:rc1 |
| rubyonrails:rails | 4.1.2:rc2 |
| rubyonrails:rails | 4.1.2:rc3 |
| rubyonrails:rails | 4.1.3 |
| rubyonrails:rails | 4.1.4 |
| rubyonrails:rails | 4.1.5 |
| rubyonrails:rails | 4.1.6 |
| rubyonrails:rails | 4.1.6:rc1 |
| rubyonrails:rails | 4.1.6:rc2 |
| rubyonrails:rails | 4.1.7 |
| rubyonrails:rails | 4.1.7.1 |
| rubyonrails:rails | 4.1.8 |
| rubyonrails:rails | 4.1.9 |
| rubyonrails:rails | 4.1.9:rc1 |
| rubyonrails:rails | 4.1.10 |
| rubyonrails:rails | 4.1.10:rc1 |
| rubyonrails:rails | 4.1.10:rc2 |
| rubyonrails:rails | 4.1.10:rc3 |
| rubyonrails:rails | 4.1.10:rc4 |
| rubyonrails:rails | 4.1.12 |
| rubyonrails:rails | 4.1.12:rc1 |
| rubyonrails:rails | 4.1.13 |
| rubyonrails:rails | 4.1.13:rc1 |
| rubyonrails:rails | 4.1.14 |
| rubyonrails:rails | 4.1.14:rc1 |
| rubyonrails:rails | 4.1.14:rc2 |
| rubyonrails:rails | 4.2.0 |
| rubyonrails:rails | 4.2.0:beta1 |
| rubyonrails:rails | 4.2.0:beta2 |
| rubyonrails:rails | 4.2.0:beta3 |
| rubyonrails:rails | 4.2.0:beta4 |
| rubyonrails:rails | 4.2.0:rc1 |
| rubyonrails:rails | 4.2.0:rc2 |
| rubyonrails:rails | 4.2.0:rc3 |
| rubyonrails:rails | 4.2.1 |
| rubyonrails:rails | 4.2.1:rc1 |
| rubyonrails:rails | 4.2.1:rc2 |
| rubyonrails:rails | 4.2.1:rc3 |
| rubyonrails:rails | 4.2.1:rc4 |
| rubyonrails:rails | 4.2.2 |
| rubyonrails:rails | 4.2.3 |
| rubyonrails:rails | 4.2.3:rc1 |
| rubyonrails:rails | 4.2.4 |
| rubyonrails:rails | 4.2.4:rc1 |
| rubyonrails:rails | 4.2.5 |
| rubyonrails:rails | 4.2.5:rc1 |
| rubyonrails:rails | 4.2.5:rc2 |
| rubyonrails:rails | 5.0.0:beta1 |
| rubyonrails:ruby_on_rails | through 3.2.22 |
| rubyonrails:ruby_on_rails | 4.0.10:rc2 |
| rubyonrails:ruby_on_rails | 4.0.11 |
| rubyonrails:ruby_on_rails | 4.0.11.1 |
| rubyonrails:ruby_on_rails | 4.0.12 |
| rubyonrails:ruby_on_rails | 4.0.13 |
| rubyonrails:ruby_on_rails | 4.0.13:rc1 |
| rubyonrails:ruby_on_rails | 4.1.11 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-p692-7mm3-3fxg | RubyGems | actionpack | >=3.1.0 <3.2.22.1 | 3.2.22.1 |
| GHSA-p692-7mm3-3fxg | RubyGems | actionpack | >=4.0.0 <4.1.14.1 | 4.1.14.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 7 | ruby-actionpack-3.2 | 3.2.6-6+deb7u3 | DLA-604-1 |
| Debian | 8 | rails | 2:4.1.8-1+deb8u1 | DSA-3464-1 |
| Debian | 12, 13, 14 | rails | 2:4.2.5.1-1 | DEBIAN-CVE-2015-7576 |
| Red Hat | rhel_software_collections:2::el6 | rh-ror41-rubygem-actionpack, rh-ror41-rubygem-activesupport, rh-ror41-rubygem-actionpack-doc | 1:4.1.5-3.el6 | RHSA-2016:0296 |
| Red Hat | rhel_software_collections:2::el6 | rh-ror41-rubygem-actionview, rh-ror41-rubygem-actionview-doc | 0:4.1.5-4.el6 | RHSA-2016:0296 |
| Red Hat | rhel_software_collections:2::el6 | rh-ror41-rubygem-activemodel, rh-ror41-rubygem-activemodel-doc | 0:4.1.5-2.el6 | RHSA-2016:0296 |
| Red Hat | rhel_software_collections:2::el6 | rh-ror41-rubygem-activerecord, rh-ror41-rubygem-activerecord-doc | 1:4.1.5-2.el6 | RHSA-2016:0296 |
| Red Hat | rhel_software_collections:2::el6 | ror40-rubygem-actionpack, ror40-rubygem-actionpack-doc | 1:4.0.2-7.el6 | RHSA-2016:0454 |
| Red Hat | rhel_software_collections:2::el6 | ror40-rubygem-activerecord, ror40-rubygem-activerecord-doc | 1:4.0.2-6.el6 | RHSA-2016:0454 |
| Red Hat | rhel_software_collections:2::el6 | ror40-rubygem-activesupport | 1:4.0.2-4.el6 | RHSA-2016:0454 |
| Red Hat | rhel_software_collections:2::el6 | ruby193-rubygem-actionpack, ruby193-rubygem-actionpack-doc | 1:3.2.8-16.el6 | RHSA-2016:0455 |
| Red Hat | rhel_software_collections:2::el6 | ruby193-rubygem-activerecord, ruby193-rubygem-activerecord-doc | 1:3.2.8-11.el6 | RHSA-2016:0455 |
| Red Hat | rhel_software_collections:2::el6 | ruby193-rubygem-activesupport | 1:3.2.8-6.el6 | RHSA-2016:0455 |
| Red Hat | rhel_software_collections:2::el7 | rh-ror41-rubygem-actionpack, rh-ror41-rubygem-activesupport, rh-ror41-rubygem-actionpack-doc | 1:4.1.5-3.el7 | RHSA-2016:0296 |
| Red Hat | rhel_software_collections:2::el7 | rh-ror41-rubygem-actionview, rh-ror41-rubygem-actionview-doc | 0:4.1.5-4.el7 | RHSA-2016:0296 |
| 8 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 2.1 | rubygem-actionpack-4_2 | 4.2.2-6.1 | SUSE-SU-2016:0457-1 |
| SUSE | Enterprise Storage 2.1 | rubygem-activesupport-4_2 | 4.2.2-6.1 | SUSE-SU-2016:0435-1 |
| SUSE | Lifecycle Management Server 1.3, Linux Enterprise Software Development Kit 11 SP3, Linux Enterprise Software Development Kit 11 SP4 and 2 more | rubygem-activesupport-3_2 | 3.2.12-0.18.1 | SUSE-SU-2016:0623-1 |
| SUSE | Lifecycle Management Server 1.3, Linux Enterprise Software Development Kit 11 SP4, Studio Onsite 1.3 and 1 more | rubygem-actionpack-3_2 | 3.2.12-0.23.1 | SUSE-SU-2016:0618-1 |
| SUSE | Lifecycle Management Server 1.3, Linux Enterprise Software Development Kit 11 SP4, Studio Onsite 1.3 and 1 more | rubygem-activesupport-3_2 | 3.2.12-0.21.1 | SUSE-SU-2016:0968-1 |
| SUSE | Linux Enterprise Module for Containers 12 | portus | 2.0.3-2.4 | SUSE-SU-2016:1146-1 |
| SUSE | OpenStack Cloud 5 | rubygem-actionpack-4_1 | 4.1.9-9.1 | SUSE-SU-2016:0858-1 |
| SUSE | OpenStack Cloud 5 | rubygem-activesupport-4_1 | 4.1.9-12.1 | SUSE-SU-2016:0600-1 |
| SUSE | OpenStack Cloud 5 | rubygem-activesupport-4_1 | 4.1.9-15.1 | SUSE-SU-2016:0857-1 |
| SUSE | Studio Onsite 1.3, Studio Onsite Runner 1.3 | libjansson | 2.2.1-0.9.11.6 | SUSE-SU-2017:0475-1 |
| SUSE | Studio Onsite 1.3, Studio Onsite Runner 1.3 | qemu-ext2 | 0.1.1-0.9.4.19 | SUSE-SU-2017:0475-1 |
| SUSE | Studio Onsite 1.3, Studio Onsite Runner 1.3 | rubygem-bundler19 | 1.7.0-0.13.10 | SUSE-SU-2017:0475-1 |
| 2 more for SUSE in the JSON and on SUSE's page. | ||||
From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE.
Red Hat rates this Low.
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
~~~
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-ror41-rubygem-actionpack-1:4.1.5-3.el6 | Fixed 2016-02-24 | RHSA-2016:0296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-ror41-rubygem-actionview-0:4.1.5-4.el6 | Fixed 2016-02-24 | RHSA-2016:0296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-ror41-rubygem-activemodel-0:4.1.5-2.el6 | Fixed 2016-02-24 | RHSA-2016:0296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-ror41-rubygem-activerecord-1:4.1.5-2.el6 | Fixed 2016-02-24 | RHSA-2016:0296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-ror41-rubygem-activesupport-1:4.1.5-3.el6 | Fixed 2016-02-24 | RHSA-2016:0296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | ror40-rubygem-actionpack-1:4.0.2-7.el6 | Fixed 2016-03-15 | RHSA-2016:0454 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | ror40-rubygem-activerecord-1:4.0.2-6.el6 | Fixed 2016-03-15 | RHSA-2016:0454 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | ror40-rubygem-activesupport-1:4.0.2-4.el6 | Fixed 2016-03-15 | RHSA-2016:0454 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | ruby193-rubygem-actionpack-1:3.2.8-16.el6 | Fixed 2016-03-15 | RHSA-2016:0455 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | ruby193-rubygem-activerecord-1:3.2.8-11.el6 | Fixed 2016-03-15 | RHSA-2016:0455 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | ruby193-rubygem-activesupport-1:3.2.8-6.el6 | Fixed 2016-03-15 | RHSA-2016:0455 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | rh-ror41-rubygem-actionpack-1:4.1.5-3.el6 | Fixed 2016-02-24 | RHSA-2016:0296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | rh-ror41-rubygem-actionview-0:4.1.5-4.el6 | Fixed 2016-02-24 | RHSA-2016:0296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | rh-ror41-rubygem-activemodel-0:4.1.5-2.el6 | Fixed 2016-02-24 | RHSA-2016:0296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | rh-ror41-rubygem-activerecord-1:4.1.5-2.el6 | Fixed 2016-02-24 | RHSA-2016:0296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | rh-ror41-rubygem-activesupport-1:4.1.5-3.el6 | Fixed 2016-02-24 | RHSA-2016:0296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | ror40-rubygem-actionpack-1:4.0.2-7.el6 | Fixed 2016-03-15 | RHSA-2016:0454 |
| CloudForms Management Engine 5 | ruby193-rubygem-actionpack | Will not fix | |
| Red Hat Subscription Asset Manager | ruby193-rubygem-actionpack | Will not fix | |
| Red Hat Subscription Asset Manager | rubygem-actionpack | Will not fix | |
| 49 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2015-7576.