Skip to main content

CVE-2016-0751 — Vulnerability in actionpack — CVE Details

HIGH

actionpack is vulnerable to denial of service via a crafted HTTP Accept header

Published October 24, 2017Updated November 29, 2024Source: OSV

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.

Check my Gemfile.lock

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.

Bundler
Update actionpack to 4.2.5.1 or later
gem install actionpack -v 4.2.5.1
Bundler
Update actionpack to 4.1.14.1 or later
gem install actionpack -v 4.1.14.1
Bundler
Update actionpack to 3.2.22.1 or later
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).

PackageFixed 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.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
9.73%
EPSS percentile: 96.3

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

GHSA-ffpv-c4hm-3x6v

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Gemfile.lock