Loading...
Skip to main content

CVE-2016-0751

HIGH

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

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

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.

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, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

PackageEcosystemAffectedFixed In
actionpack
rubygems
4.2.0, 4.2.1, 4.2.1.rc1, 4.2.1.rc2 (+10 more)4.2.5.1
actionpack
rubygems
4.0.0, 4.0.1, 4.0.1.rc1, 4.0.1.rc2 (+56 more)4.1.14.1
actionpack
rubygems
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. 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

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-ffpv-c4hm-3x6v

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies