cve.bz

CVE-2016-2097

5.3 mediumEPSS 4.4%

Medium (5.3) in rubyonrails. EPSS 4.4% chance of exploitation in the next 30 days. Fixed in actionview 3.2.22.2, 4.1.14.2.

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.

Severity

CVSS 3.0

5.3 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
4.4% chance of exploitation in the next 30 days; higher than 91% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vx9j-46rh-fqr8RubyGemsactionview>=3.0.0 <3.2.22.23.2.22.2
GHSA-vx9j-46rh-fqr8RubyGemsactionview>=4.0.0 <4.1.14.24.1.14.2
GHSA-vx9j-46rh-fqr8RubyGemsactionpack>=3.0.0 <3.2.22.23.2.22.2
GHSA-vx9j-46rh-fqr8RubyGemsactionpack>=4.0.0 <4.1.14.24.1.14.2

References

Check your stackJSON