Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. actionpack
  4. ›
  5. CVE-2012-3424

CVE-2012-3424: actionpack Improper Authentication vulnerability

October 24, 2017 (updated January 22, 2025)

The decode_credentials method in actionpack/lib/action_controller/metal/http_authentication.rb in Ruby on Rails before 3.0.16, 3.1.x before 3.1.7, and 3.2.x before 3.2.7 converts Digest Authentication strings to symbols, which allows remote attackers to cause a denial of service by leveraging access to an application that uses a with_http_digest helper method, as demonstrated by the authenticate_or_request_with_http_digest method.

References

  • github.com/advisories/GHSA-92w9-2pqw-rhjj
  • github.com/rails/rails
  • github.com/rails/rails/commit/3719bd3e95523c5518507dbe44f260f252930600
  • groups.google.com/group/rubyonrails-security/msg/244d32f2fa25147d?hl=en&dmode=source&output=gplain
  • nvd.nist.gov/vuln/detail/CVE-2012-3424

Code Behaviors & Features

Detect and mitigate CVE-2012-3424 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.0.beta before 3.0.16, all versions before 2.3.5, all versions starting from 3.1.0 before 3.1.7, all versions starting from 3.2.0 before 3.2.7

Fixed versions

  • 3.0.16
  • 3.1.7
  • 3.2.7
  • 2.3.5

Solution

Upgrade to versions 2.3.5, 3.0.16, 3.1.7, 3.2.7 or above.

Impact 5 MEDIUM

AV:N/AC:L/Au:N/C:N/I:N/A:P

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

gem/actionpack/CVE-2012-3424.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:39 +0000.