Rails · Ruby on Rails · CWE-22 · published 2016-02-16
CVE-2016-0752Ruby on Rails Directory Traversal Vulnerability
Patch today Known exploited server software, exploitation is automatable.
CVE-2016-0752 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2022-03-25. EPSS estimates a 95.5% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This Ruby on Rails vulnerability: CVSS 7.5 (v3.1), attacks can be automated. Patched packages are out for Debian and Ubuntu. US federal agencies must remediate by 2022-04-15. Patch today.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
CISA required action: Apply updates per vendor instructions. (federal due date 2022-04-15)
Linux distribution packages
If you run the distro’s package rather than an upstream build, this is the version to look for.
| Distro | Release | Package | Status |
|---|---|---|---|
| Debian | 13 trixie | rails | Fixed in 2:4.2.5.1-1 |
| 12 bookworm | rails | Fixed in 2:4.2.5.1-1 | |
| Ubuntu | 16.04 LTS | rails | Fixed in 2:4.2.5.1-1 |
From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.
Patch events
Web frameworkRuby on Rails
Directory TraversalCVE-2016-0752
Why: Known exploited server software, exploitation is automatable.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | Yes, added 2022-03-25 | CISA KEV |
| Ransomware use | Unknown | CISA KEV |
| EPSS (30-day exploitation probability) | 96% (100th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 7.5 (v3.1)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | CNA / CISA ADP |
| SSVC exploitation | active | CISA Vulnrichment |
| SSVC automatable | Yes | CISA Vulnrichment |
| SSVC technical impact | partial | CISA Vulnrichment |
Weakness: CWE-22: Improper Limitation of a Pathname to a Restricted Directory
More from this vendor: all Rails vulnerabilities · recent KEV additions
Affected versions (from the CVE record)#
- Product
n/a(affected)
Description (from the CVE record)#
Directory traversal vulnerability in Action View 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 allows remote attackers to read arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname.
Quoted from the CVE Program record.