Skip to main content
No exploitation reportedFix available

CVE-2016-2097

No exploitation reported by the sources we read.

  • Published2016-04-07
  • WeaknessCWE-22

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.2 and 4.x before 4.1.14.2 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. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-0752.

Timeline

dates in UTC
  1. 2016-04-0723:59CVE publishedNVD

Versions per branch

NVD · OSV
Ruby on Rails
BranchAffectedFixed in
4.0= 4.0.0no fix published
4.0= 4.0.1no fix published
4.0= 4.0.2no fix published
4.0= 4.0.3no fix published
4.0= 4.0.4no fix published
4.0= 4.0.5no fix published
4.0= 4.0.6no fix published
4.0= 4.0.7no fix published
4.0= 4.0.8no fix published
4.0= 4.0.9no fix published
4.0= 4.0.10no fix published
4.1= 4.1.0no fix published
Rubyonrails ruby on rails
BranchAffectedFixed in
3.2≤ 3.2.22.1no fix published
4.1= 4.1.14.1no fix published
actionpack
BranchAffectedFixed in
4.x≥ 4.0.0, < 4.1.14.24.1.14.2
3.x≥ 3.0.0, < 3.2.22.23.2.22.2

1 more product in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • railsDebian:14all versions · fixed in 2:4.2.5.2-1
  • railsDebian:13all versions · fixed in 2:4.2.5.2-1
  • railsDebian:12all versions · fixed in 2:4.2.5.2-1
  • railsDebian:8all versions · fixed in 2:4.1.8-1+deb8u2
  • rh-ror41-rubygem-actionpackRed Hat:rhel_software_collections:2::el7all versions · fixed in 1:4.1.5-4.el7and 1 other package
  • rh-ror41-rubygem-actionpackRed Hat:rhel_software_collections:2::el6all versions · fixed in 1:4.1.5-4.el6and 1 other package
  • rh-ror41-rubygem-actionviewRed Hat:rhel_software_collections:2::el7all versions · fixed in 0:4.1.5-5.el7and 1 other package
  • rh-ror41-rubygem-actionviewRed Hat:rhel_software_collections:2::el6all versions · fixed in 0:4.1.5-5.el6and 1 other package

19 more package ranges on OSV.dev

Vendor advisories

  • CVE-2016-2097 Red Hat Product Security176 products fixed · 3 known affected

    rubygem-actionpack: directory traversal in Action View, incomplete CVE-2016-0752 fix

    ruby193-rubygem-actionpack.src as a component of CloudForms Management Engine 5 · ruby193-rubygem-actionpack.src as a component of Red Hat Subscription Asset Manager · rubygem-actionpack.src as a component of Red Hat Subscription Asset Manager

  • RHSA-2016:0454 Red Hat Product Security64 products fixed

    Red Hat Security Advisory: ror40 security update

  • RHSA-2016:0455 Red Hat Product Security64 products fixed

    Red Hat Security Advisory: ruby193 security update

  • RHSA-2016:0456 Red Hat Product Security48 products fixed

    Red Hat Security Advisory: rh-ror41 security update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2016:0454 · 64 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  2. No fix planned, says the vendor Red Hat Product Security CVE-2016-2097 · 3 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.05.3read 2026-10-23
  • NVDCVSS 2.05read 2026-10-23
  • NVDweakness (CWE)CWE-22read 2026-10-23
  • FIRST EPSSEPSS score4.4 %2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryModerate2020-06-16

Identifiers

Technical details

CVSS v3 vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Published
2016-04-07
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-vx9j-46rh-fqr8

Frequently asked questions

What is CVE-2016-2097?

Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.2 and 4.x before 4.1.14.2 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. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-0752.

Is CVE-2016-2097 actively exploited?

Active exploitation of CVE-2016-2097 has not been confirmed. Its EPSS score was 4.4% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2016-2097?

CVE-2016-2097 has a CVSS v3 base score of 5.3 (Medium severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.

Running rubygem-actionpack? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record