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

CVE-2013-6417: Incomplete fix to CVE-2013-0155 (Unsafe Query Generation Risk)

December 6, 2013 (updated August 8, 2019)

Due to the way that Rack::Request and Rails::Request interact, it is possible for a 3rd party or custom rack middleware to parse the parameters insecurely and store them in the same key that Rails uses for its own parameters. In the event that happens the application will receive unsafe parameters and could be vulnerable to the earlier vulnerability: it would be possible for an attacker to issue unexpected database queries with IS NULL or empty where clauses.

References

  • seclists.org/oss-sec/2013/q4/403

Code Behaviors & Features

Detect and mitigate CVE-2013-6417 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 2.0.0 before 3.2.16, all versions starting from 4.0.0.beta1 before 4.0.2

Fixed versions

  • 3.2.16
  • 4.0.2

Solution

Upgrade to latest or use patches (see source)

Impact 6.4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-264

Source file

gem/actionpack/CVE-2013-6417.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:16:04 +0000.