---
title: "Ruby on Rails vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/rubyonrails/ruby-on-rails
type: product
description: "Ruby on Rails has 53 published CVEs, 2 in CISA KEV and 17 with public exploits."
updated: 2017-12-29
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# Ruby on Rails vulnerabilities

Vendor: [Ruby on Rails](https://radicalnotion.ai/vendor/rubyonrails)

- **Published CVEs:** 53
- **In CISA KEV:** 2
- **With a public exploit:** 17
- **With a patch:** 51
- **Average CVSS:** 5.9
- **First CVE:** 2006-08-14
- **Latest CVE:** 2017-12-29

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 3 |
| High | 15 |
| Medium | 34 |
| Low | 1 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-79](https://radicalnotion.ai/cwe/cwe-79) | Improper Neutralization of Input During Web Page Generation | 17 |
| [CWE-20](https://radicalnotion.ai/cwe/cwe-20) | Improper Input Validation | 8 |
| [CWE-89](https://radicalnotion.ai/cwe/cwe-89) | Improper Neutralization of Special Elements used in an SQL Command | 8 |
| [CWE-22](https://radicalnotion.ai/cwe/cwe-22) | Improper Limitation of a Pathname to a Restricted Directory | 5 |
| [CWE-264](https://radicalnotion.ai/cwe/cwe-264) | Permissions, Privileges, and Access Controls | 4 |
| [CWE-94](https://radicalnotion.ai/cwe/cwe-94) | Improper Control of Generation of Code | 2 |
| [CWE-287](https://radicalnotion.ai/cwe/cwe-287) | Improper Authentication | 2 |
| [CWE-362](https://radicalnotion.ai/cwe/cwe-362) | Concurrent Execution using Shared Resource with Improper Synchronization | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2006 | 1 |
| 2007 | 1 |
| 2008 | 2 |
| 2009 | 2 |
| 2010 | 0 |
| 2011 | 6 |
| 2012 | 10 |
| 2013 | 14 |
| 2014 | 7 |
| 2015 | 1 |
| 2016 | 7 |
| 2017 | 2 |

## Affected versions (top 12 of 50)

| Version | Kind | CVEs |
| --- | --- | --- |
| 3.0.4 | range | 32 |
| 0.5.0 | range | 9 |
| 0.5.5 | range | 9 |
| 0.5.6 | range | 9 |
| 0.5.7 | range | 9 |
| 0.6.0 | range | 9 |
| 0.6.5 | range | 9 |
| 0.7.0 | range | 9 |
| 0.8.0 | range | 9 |
| 0.8.5 | range | 9 |
| 0.9.0 | range | 9 |
| 3.1.11 | range | 8 |

## Fixed in

| Version | CVEs |
| --- | --- |
| 3.0.19 | 2 |
| 3.1.10 | 2 |
| 2.3.15 | 1 |
| 2.3.3 | 1 |
| 3.2.18 | 1 |

## CVEs (first 30 of 53, most severe first)

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2017-17920 | - | high | 8.1 | No | Yes | No |
| CVE-2017-17919 | - | high | 8.1 | No | Yes | No |
| CVE-2016-6316 | actionview Cross-site Scripting vulnerability | medium | 6.1 | No | No | Yes |
| CVE-2016-2098 | actionpack allows remote code execution via application's unrestricted use of render method | high | 7.3 | No | Yes | Yes |
| CVE-2016-2097 | actionview contains Path Traversal vulnerability | medium | 5.3 | No | No | Yes |
| CVE-2016-0752 | Directory traversal vulnerability in Action View in Ruby on Rails | high | 8.7 | Yes | Yes | Yes |
| CVE-2016-0751 | actionpack is vulnerable to denial of service via a crafted HTTP Accept header | high | 7.5 | No | No | Yes |
| CVE-2015-7577 | Active Record Improper Access Control | medium | 5.3 | No | No | Yes |
| CVE-2015-7576 | actionpack is vulnerable to remote bypass authentication | low | 3.7 | No | No | Yes |
| CVE-2015-3226 | activesupport Cross-site Scripting vulnerability | medium | 4.3 | No | No | Yes |
| CVE-2014-7829 | Directory traversal vulnerability in actionpack | medium | 5.0 | No | Yes | Yes |
| CVE-2014-7818 | actionpack vulnerable to Path Traversal | medium | 4.3 | No | No | Yes |
| CVE-2014-3482 | SQL Injection in Active Record | high | 7.5 | No | No | Yes |
| CVE-2013-1756 | Dragonfly Code Injection vulnerability | high | 7.5 | No | No | Yes |
| CVE-2014-0130 | actionpack Path Traversal vulnerability | high | 8.7 | Yes | Yes | Yes |
| CVE-2014-0082 | actionpack Improper Input Validation vulnerability | medium | 5.0 | No | No | Yes |
| CVE-2014-0081 | Rails vulnerable to Cross-site Scripting | medium | 4.3 | No | No | Yes |
| CVE-2013-6417 | actionpack allows bypass of database-query restrictions | medium | 6.4 | No | No | Yes |
| CVE-2013-6415 | actionpack vulnerable to Cross-site Scripting | medium | 4.3 | No | No | Yes |
| CVE-2013-6414 | actionpack Improper Input Validation vulnerability | medium | 5.0 | No | Yes | Yes |
| CVE-2013-4491 | actionpack vulnerable to Cross-site Scripting | medium | 4.3 | No | No | Yes |
| CVE-2013-3221 | Active Record component in Ruby on Rails has a data-type injection vulnerability | critical | 9.3 | No | Yes | Yes |
| CVE-2013-1857 | actionpack Cross-site Scripting vulnerability | medium | 4.3 | No | No | Yes |
| CVE-2013-1856 | activesupport Improper Input Validation vulnerability | medium | 5.8 | No | No | Yes |
| CVE-2013-1855 | actionpack Cross-site Scripting vulnerability | medium | 4.3 | No | No | Yes |
| CVE-2013-1854 | Active Record Improper Input Validation | medium | 5.0 | No | No | Yes |
| CVE-2013-0277 | Active Record contains deserialization of arbitrary YAML | critical | 10.0 | No | No | Yes |
| CVE-2013-0333 | activesupport in Rails vulnerable to incorrect data conversion | high | 7.5 | No | Yes | Yes |
| CVE-2013-0156 | actionpack Improper Input Validation vulnerability | high | 7.5 | No | Yes | Yes |
| CVE-2013-0155 | Active Record allows bypassing of database-query restrictions | medium | 6.4 | No | No | Yes |

## Frequently asked questions

### How many CVEs does Ruby on Rails have?

Ruby on Rails has 53 published CVE records since 2006.

### How many Ruby on Rails CVEs are in CISA KEV?

2 of Ruby on Rails's CVEs are listed in CISA's Known Exploited Vulnerabilities catalog, confirmed exploited in the wild and carrying a CISA remediation deadline.

### Are there public exploits for Ruby on Rails vulnerabilities?

Yes — 17 of Ruby on Rails's CVEs have a known public exploit.

### Which versions of Ruby on Rails are affected?

55 distinct Ruby on Rails versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in Ruby on Rails CVEs?

Ruby on Rails's CVEs most often map to these CWE weakness types: CWE-79 (Improper Neutralization of Input During Web Page Generation), CWE-20 (Improper Input Validation), CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), CWE-22 (Improper Limitation of a Pathname to a Restricted Directory).

### How many critical Ruby on Rails vulnerabilities are there?

Ruby on Rails has 3 critical and 15 high-severity CVEs.

### What is the average severity of Ruby on Rails CVEs?

The average CVSS base score across Ruby on Rails's scored CVEs is 5.9.

## Other products from this vendor

- [rails](https://radicalnotion.ai/vendor/rubyonrails/rails) (124 CVEs)
- [rails html sanitizers](https://radicalnotion.ai/vendor/rubyonrails/rails-html-sanitizers) (10 CVEs)
- [html sanitizer](https://radicalnotion.ai/vendor/rubyonrails/html-sanitizer) (4 CVEs)
- [actionpack](https://radicalnotion.ai/vendor/rubyonrails/actionpack) (2 CVEs)
- [actionpack page-caching](https://radicalnotion.ai/vendor/rubyonrails/actionpack-page-caching) (2 CVEs)
- [Active Storage](https://radicalnotion.ai/vendor/rubyonrails/active-storage) (2 CVEs)
- [Action View](https://radicalnotion.ai/vendor/rubyonrails/action-view) (1 CVEs)
- [actionview](https://radicalnotion.ai/vendor/rubyonrails/actionview) (1 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/rubyonrails/ruby-on-rails). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
