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...
CVE-2016-2097 is a path traversal in RubyGems actionview (CVSS 5.3, Medium).
Public exploit available. Not confirmed exploited in the wild yet. Fixed in 3.2.22.2.
Public exploit: 2 sourcesFix3.2.22.2Upgrade to this build
e.g. OID 1.3.6.1.4.1.25623.1.0.703509
What to do
Find your product and version, then upgrade to the build on the right.
- RubyGems actionviewAffected: ≥ 3.0.0, < 3.2.22.2Upgrade to: 3.2.22.2Stated by: GitHub advisory
- RubyGems actionpackAffected: ≥ 3.0.0, < 3.2.22.2Upgrade to: 3.2.22.2Stated by: GitHub advisory
- Rubyonrails Ruby On RailsAffected: ≤ 3.2.22.1Upgrade to: after 3.2.22.1Stated by: NVD
Versions as the sources state them. Full version matrix after sign-in
What it is
From the CVE record
actionview contains Path Traversal vulnerability
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
2 sources with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
4.4% chance of exploitation activity in the next 30 days, which ranks it in the 92nd percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
A public exploit existed 61 days before the patch.
- OpenVAS check added
- Patch availablerecord updated
- Public exploit / PoCsource: github-poc
- Publishedweakness classified, att&ck mapped
Affected products
Technical detail
CVSS 3.0 vector
Open in the CVSS calculatorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Scored 5.3 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality LowSome restricted information is disclosed, but limited in scope
- Integrity NoneNo integrity impact
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- nvd.nist.gov/vuln/detail/CVE-2016-2097
- github.com/rails/rails/commit/8a1d3ea617ffb0c8ae8467fa439bf63a3bfc4324
- github.com/rails/rails
And 15 more references. See all after sign-in
Questions about CVE-2016-2097
- Is CVE-2016-2097 being exploited?
- Not confirmed. Public exploit code exists (2 sources), but CVE-2016-2097 is not in CISA KEV. EPSS puts the chance of exploitation in the next 30 days at 4.4%.
- Which versions are affected by CVE-2016-2097?
- Actionview: ≥ 3.0.0, < 3.2.22.2. Actionpack: ≥ 3.0.0, < 3.2.22.2. Ruby On Rails: ≤ 3.2.22.1.
- How do I fix or mitigate CVE-2016-2097?
- Upgrade to 3.2.22.2 or later. The advisory is on weblog.rubyonrails.org.
Last updated
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Actionview, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI