CVE-2016-0751 — Vulnerability in actionpack — CVE Details
actionpack is vulnerable to denial of service via a crafted HTTP Accept header
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (9.73%). Schedule for your next planned update.
Does your project use an affected actionpack version?
Paste your Gemfile.lock to check it for CVE-2016-0751 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
actionpack/lib/action_dispatch/http/mime_type.rb in Action Pack 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 properly restrict use of the MIME type cache, which allows remote attackers to cause a denial of service (memory consumption) via a crafted HTTP Accept header.
Advisory Timeline
- First published October 24, 2017 (3320 days ago).
- Last revised November 29, 2024 — 2592 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install actionpack -v 4.2.5.1
gem install actionpack -v 4.1.14.1
gem install actionpack -v 3.2.22.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: RubyGems (1).
| Package | Fixed In |
|---|---|
| actionpack RubyGems · Affected: 4.2.0, 4.2.1, 4.2.1.rc1, 4.2.1.rc2 (+10 more) | 4.2.5.1 |
| actionpack RubyGems · Affected: 4.0.0, 4.0.1, 4.0.1.rc1, 4.0.1.rc2 (+56 more) | 4.1.14.1 |
| actionpack RubyGems · Affected: 0.9.0, 0.9.5, 1.0.0, 1.0.1 (+172 more) | 3.2.22.1 |
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-0751ADVISORY
- https://github.com/rails/rails/commit/127967b735813cd4f263df7a50426d74e7e9cc17WEB
- https://github.com/rails/rails/commit/221937c8ba1d291430ceddebbd4bdef7d3cb47d6WEB
- https://github.com/rails/rails/commit/37047b779a177b911c7161052cfc34a30e1db0afWEB
- https://github.com/rails/railsPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2016-0751.ymlWEB
- https://groups.google.com/forum/#!topic/rubyonrails-security/9oLY_FCzvocWEB
- https://groups.google.com/forum/message/raw?msg=ruby-security-ann/9oLY_FCzvoc/5CDXbvpYEgAJWEB
- https://web.archive.org/web/20160128201702/http://www.securitytracker.com/id/1034816WEB
- https://web.archive.org/web/20200227181647/http://www.securityfocus.com/bid/81800WEB
- https://lists.fedoraproject.org/pipermail/package-announce/2016-February/178043.htmlWEB
- https://lists.fedoraproject.org/pipermail/package-announce/2016-February/178067.htmlWEB
- https://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.htmlWEB
- https://lists.opensuse.org/opensuse-updates/2016-02/msg00034.htmlWEB
- https://lists.opensuse.org/opensuse-updates/2016-02/msg00043.htmlWEB
- https://rhn.redhat.com/errata/RHSA-2016-0296.htmlWEB
- https://www.debian.org/security/2016/dsa-3464WEB
- https://www.openwall.com/lists/oss-security/2016/01/25/9WEB
Frequently Asked Questions
- What is CVE-2016-0751?
- actionpack is vulnerable to denial of service via a crafted HTTP Accept header. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2016-0751?
- CVE-2016-0751 affects actionpack. It has a 9.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2016-0751 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top 5% of EPSS-scored vulnerabilities — 96.3% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2022-23633HIGH
Exposure of information in Action Pack
- CVE-2011-1497MEDIUM
Cross site scripting in actionpack Rubygem
- CVE-2021-44528MEDIUM
actionpack Open Redirect in Host Authorization Middleware
- CVE-2026-126073MEDIUM
Action Pack: Possible cache poisoning in Action Pack content negotiation
- CVE-2026-126072MEDIUM
Action Pack: Possible DoS vulnerability in Action Controller Live streaming
- CVE-2024-47887MEDIUM
Possible ReDoS vulnerability in HTTP Token authentication in Action Controller
- CVE-2016-2097MEDIUM
actionview contains Path Traversal vulnerability
- CVE-2024-54133LOW
Possible Content Security Policy bypass in Action Dispatch