CVE-2015-7576: Actionpack Actionpack Is Vulnerable To Remote Vulnerability

LOW
Advisory Identifier: GHSA-p692-7mm3-3fxg
CVSS 3.7
Published
Advisory Summary

CVE-2015-7576 is a LOW (CVSS 3.7) actionpack is vulnerable to remote vulnerability (General Security Weakness) affecting Actionpack libraries in the RubyGems ecosystem. The issue involves actionpack is vulnerable to remote bypass authentication. Remediation is available by upgrading affected packages to version 3.2.22.1, 4.1.14.1.

CVE-2015-7576 at a Glance

CVE Identifier CVE-2015-7576
GHSA Identifier GHSA-p692-7mm3-3fxg
Severity LOW
CVSS v3.1 Base Score 3.7
CWE Classification General Security Weakness
Affected Product Actionpack
Package Ecosystem RubyGems
Published Date
Last Updated

Security Impact

CVSS: 3.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2015-7576

To remediate this vulnerability, upgrade all affected Actionpack dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

actionpack fixed: 3.2.22.1
Upgrade actionpack to 3.2.22.1
actionpack fixed: 4.1.14.1
Upgrade actionpack to 4.1.14.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for actionpack

How to Check if You Are Affected

To determine whether your application is affected by CVE-2015-7576, inspect your project dependencies for Actionpack:

inspect dependencies for actionpack

Analyze the terminal output to locate any version of Actionpack in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.2.22.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Actionpack, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The http_basic_authenticate_with method in actionpack/lib/action_controller/metal/http_authentication.rb in the Basic Authentication implementation in Action Controller in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 does not use a constant-time algorithm for verifying credentials, which makes it easier for remote attackers to bypass authentication by measuring timing differences.

CVE-2015-7576 Affected Actionpack Versions

2 component(s)
Fixed Versions:
3.2.22.14.1.14.1
Product / Package Ecosystem Affected Versions Fixed Version
actionpack
RubyGems
≥ 3.1.0
< 3.2.22.1
3.2.22.1
actionpack
RubyGems
≥ 4.0.0
< 4.1.14.1
4.1.14.1

References

NVD — CVE-2015-7576 NVD
https://nvd.nist.gov/vuln/detail/CVE-2015-7576
Security Fix Commit FIX COMMIT
https://github.com/rails/rails/commit/17e6f1507b7f2c2a883c180f4f9548445d6dfbd
Actionpack Source Repository REPOSITORY
https://github.com/rails/rails
Actionpack Source Repository REPOSITORY
https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2015-7576.yml
groups.google.com/forum/ WEB
https://groups.google.com/forum/#!topic/rubyonrails-security/ANv0HDHEC3k
groups.google.com/forum/message/raw WEB
https://groups.google.com/forum/message/raw?msg=ruby-security-ann/ANv0HDHEC3k/T8Hgq-hYEgAJ
Actionpack Security Information SECURITY
https://web.archive.org/web/20160405205300/http://www.securitytracker.com/id/1034816
Actionpack Security Information SECURITY
https://web.archive.org/web/20200228001849/http://www.securityfocus.com/bid/81803
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178043.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178047.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178067.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178068.html
Actionpack Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html
lists.opensuse.org/opensuse-updates/20... WEB
http://lists.opensuse.org/opensuse-updates/2016-02/msg00034.html
lists.opensuse.org/opensuse-updates/20... WEB
http://lists.opensuse.org/opensuse-updates/2016-02/msg00043.html
rhn.redhat.com/errata/rhsa-2016-02... WEB
http://rhn.redhat.com/errata/RHSA-2016-0296.html
Actionpack Security Information SECURITY
http://www.debian.org/security/2016/dsa-3464
Actionpack Security Information SECURITY
http://www.openwall.com/lists/oss-security/2016/01/25/8

Frequently Asked Questions

What is CVE-2015-7576?
CVE-2015-7576 is a security vulnerability in Actionpack involving actionpack is vulnerable to remote bypass authentication under General Security Weakness.
Which Actionpack versions are affected?
Affected versions include releases prior to 3.2.22.1, 4.1.14.1 across affected packages: actionpack.
What version fixes CVE-2015-7576?
Upgrading to 3.2.22.1, 4.1.14.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is actionpack affected?
Yes, actionpack is affected in releases prior to 3.2.22.1, 4.1.14.1. Upgrade your dependency to 3.2.22.1, 4.1.14.1 or later.
What is the CVSS score of CVE-2015-7576?
CVE-2015-7576 has a CVSS v3.1 base score of 3.7 (LOW) with vector string CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2015-7576?
CVE-2015-7576 is classified under General Security Weakness.
How can I check RubyGems dependencies for CVE-2015-7576?
Run the dependency tree command: 'inspect dependencies for actionpack'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-p692-7mm3-3fxg",
  "modified" : "2023-07-31T20:59:11Z",
  "published" : "2017-10-24T18:33:36Z",
  "aliases" : [ "CVE-2015-7576" ],
  "summary" : "actionpack is vulnerable to remote bypass authentication",
  "details" : "The http_basic_authenticate_with method in actionpack/lib/action_controller/metal/http_authentication.rb in the Basic Authentication implementation in Action Controller in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 does not use a constant-time algorithm for verifying credentials, which makes it easier for remote attackers to bypass authentication by measuring timing differences.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "actionpack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.1.0"
      }, {
        "fixed" : "3.2.22.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.2.22.0"
    }
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "actionpack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.1.14.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.1.14.0"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-7576"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rails/rails/commit/17e6f1507b7f2c2a883c180f4f9548445d6dfbd"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/rails/rails"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2015-7576.yml"
  }, {
    "type" : "WEB",
    "url" : "https://groups.google.com/forum/#!topic/rubyonrails-security/ANv0HDHEC3k"
  }, {
    "type" : "WEB",
    "url" : "https://groups.google.com/forum/message/raw?msg=ruby-security-ann/ANv0HDHEC3k/T8Hgq-hYEgAJ"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20160405205300/http://www.securitytracker.com/id/1034816"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200228001849/http://www.securityfocus.com/bid/81803"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178043.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178047.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178067.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178068.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-updates/2016-02/msg00034.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-updates/2016-02/msg00043.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2016-0296.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2016/dsa-3464"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2016/01/25/8"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:48:14Z",
    "nvd_published_at" : "2016-02-16T02:59:00Z"
  }
}