CVE-2011-0449: Actionpack Actionpack Allows Remote Attackers To Vulnerability

HIGH
Advisory Identifier: GHSA-4ww3-3rxj-8v6q
Published
Advisory Summary

CVE-2011-0449 is a HIGH actionpack allows remote attackers to vulnerability (General Security Weakness) affecting Actionpack libraries in the RubyGems ecosystem. The issue involves actionpack allows remote attackers to bypass intended access restrictions. Remediation is available by upgrading affected packages to version 3.0.4.

CVE-2011-0449 at a Glance

CVE Identifier CVE-2011-0449
GHSA Identifier GHSA-4ww3-3rxj-8v6q
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Actionpack
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2011-0449

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.0.4
Upgrade actionpack to 3.0.4
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-2011-0449, 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.0.4), 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

`actionpack/lib/action_view/template/resolver.rb` in Ruby on Rails 3.0.x before 3.0.4, when a case-insensitive filesystem is used, does not properly implement filters associated with the list of available templates, which allows remote attackers to bypass intended access restrictions via an action name that uses an unintended case for alphabetic characters.

CVE-2011-0449 Affected Actionpack Versions

1 component(s)
Fixed Versions:
3.0.4
Product / Package Ecosystem Affected Versions Fixed Version
actionpack
RubyGems
≥ 3.0.0
< 3.0.4
3.0.4

References

Frequently Asked Questions

What is CVE-2011-0449?
CVE-2011-0449 is a security vulnerability in Actionpack involving actionpack allows remote attackers to bypass intended access restrictions under General Security Weakness.
Which Actionpack versions are affected?
Affected versions include releases prior to 3.0.4 across affected packages: actionpack.
What version fixes CVE-2011-0449?
Upgrading to 3.0.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is actionpack affected?
Yes, actionpack is affected in releases prior to 3.0.4. Upgrade your dependency to 3.0.4 or later.
What CWE is associated with CVE-2011-0449?
CVE-2011-0449 is classified under General Security Weakness.
How can I check RubyGems dependencies for CVE-2011-0449?
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-4ww3-3rxj-8v6q",
  "modified" : "2023-05-12T15:23:22Z",
  "published" : "2017-10-24T18:33:38Z",
  "aliases" : [ "CVE-2011-0449" ],
  "summary" : "actionpack allows remote attackers to bypass intended access restrictions",
  "details" : "`actionpack/lib/action_view/template/resolver.rb` in Ruby on Rails 3.0.x before 3.0.4, when a case-insensitive filesystem is used, does not properly implement filters associated with the list of available templates, which allows remote attackers to bypass intended access restrictions via an action name that uses an unintended case for alphabetic characters.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "actionpack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.0.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-0449"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rails/rails/commit/6f80224057803f85b3f448936aae89e742452c3b"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/rails/rails/tree/main/actionpack"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2011-0449.yml"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20201207190612/http://securitytracker.com/id?1025061"
  }, {
    "type" : "WEB",
    "url" : "http://groups.google.com/group/rubyonrails-security/msg/04345b2e84df5b4f?dmode=source&output=gplain"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057650.html"
  }, {
    "type" : "WEB",
    "url" : "http://weblog.rubyonrails.org/2011/2/8/new-releases-2-3-11-and-3-0-4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T20:59:33Z",
    "nvd_published_at" : null
  }
}