#VU8585 Denial of service in Ruby on Rails


Published: 2017-09-22

Vulnerability identifier: #VU8585

Vulnerability risk: Low

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2016-0751

CWE-ID: CWE-400

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Ruby on Rails
Universal components / Libraries / Scripting languages

Vendor: Rails

Description
The vulnerability allows a remote attacker to perform a denial of service (DoS). attack.

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.

Mitigation
Update to version 3.2.22.1, 4.1.14.1 or 4.2.5.1.

Vulnerable software versions

Ruby on Rails: 4.2.0 - 4.2.5 rc2, 4.1.0 - 4.1.14 rc2, 4.0.0 - 4.0.13 rc1, 3.2.0 - 3.2.22, 3.1.0 - 3.1.12


External links
http:
The following updates are available:
Rails 3.2.22.1
Rails 4.1.14.1
Rails 4.2.5.1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability