RubyGems (Ruby)Worst: Critical11 advisories
rails: known vulnerabilities
rails has 11 reviewed security advisories in the GitHub Advisory Database — 1 critical, 2 high, 8 moderate. The most recent was published 2024-02-27. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the rails versions running across your servers, containers and images, and ranks what to patch first.
How to fix rails
Upgrade rails to a release at or above the fixed version shown for each advisory below. For RubyGems (Ruby):
bundle update rails to 7.1.3.1 (or gem install rails -v 7.1.3.1)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (11)
Rails has possible XSS Vulnerability in Action Controller
Moderate 6.1 CWE-79
— Affected: from 7.1.0 up to 7.1.3.1. Fixed in 7.1.3.1. Published 2024-02-27. GHSA-9822-6m93-xqf4 · CVE-2024-26143
Rails vulnerable to Cross-site Scripting
Moderate CWE-79
— Affected: from 4.0.0 up to 4.0.3. Fixed in 4.0.3. Published 2014-02-20. GHSA-m46p-ggm5-5j83 · CVE-2014-0081
Moderate severity vulnerability that affects rails
Moderate CWE-79
— Affected: from 2.3.0 up to 2.3.5. Fixed in 2.3.5. Published 2009-12-07. GHSA-9p3v-wf2w-v29c · CVE-2009-4214
rails vulnerable to improper authentication
Critical 9.8 CWE-287
— Affected: before 2.3.3. Fixed in 2.3.3. Published 2009-07-10. GHSA-rxq3-gm4p-5fj4 · CVE-2009-2422
rails is vulnerable to CRLF injection
Moderate CWE-352
— Affected: before 2.0.5. Fixed in 2.0.5. Published 2008-11-21. GHSA-jmgf-p46x-982h · CVE-2008-5189
session fixation protection mechanism in cgi_process.rb in Rails
Moderate CWE-362
— Affected: before 1.2.6. Fixed in 1.2.6. Published 2007-11-21. GHSA-p4c6-77gc-694x · CVE-2007-6077
Moderate severity vulnerability that affects rails
Moderate CWE-200
— Affected: before 1.2.4. Fixed in 1.2.4. Published 2007-10-19. GHSA-fjfg-q662-gm6j · CVE-2007-5379
Session fixation vulnerability in Rails
Moderate CWE-384
— Affected: before 1.2.4. Fixed in 1.2.4. Published 2007-10-19. GHSA-jwhv-rgqc-fqj5 · CVE-2007-5380
Moderate severity vulnerability that affects rails
Moderate CWE-79
— Affected: before 1.2.5. Fixed in 1.2.5. Published 2007-06-14. GHSA-gm25-fpmr-43fj · CVE-2007-3227
Rails Denial of Service vulnerability
High
— Affected: from 1.1.0 up to 1.1.6. Fixed in 1.1.6. Published 2006-08-14. GHSA-9wrq-xvmp-xjc8 · CVE-2006-4112
Ruby on Rails vulnerable to code injection
High CWE-94
— Affected: from 1.1.0 up to 1.1.6. Fixed in 1.1.6. Published 2006-08-14. GHSA-rvpq-5xqx-pfpp · CVE-2006-4111
Find rails across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.