Path traversal in Action Mailer - CVE-2014-7819

 

Path traversal in Action Mailer - CVE-2014-7819

Published: November 8, 2014 / Updated: July 28, 2020


Vulnerability identifier: #VU32465
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-7819
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.

Multiple directory traversal vulnerabilities in server.rb in Sprockets before 2.0.5, 2.1.x before 2.1.4, 2.2.x before 2.2.3, 2.3.x before 2.3.3, 2.4.x before 2.4.6, 2.5.x before 2.5.1, 2.6.x and 2.7.x before 2.7.1, 2.8.x before 2.8.3, 2.9.x before 2.9.4, 2.10.x before 2.10.2, 2.11.x before 2.11.3, 2.12.x before 2.12.3, and 3.x before 3.0.0.beta.3, as distributed with Ruby on Rails 3.x and 4.x, allow remote attackers to determine the existence of files outside the application root via a ../ (dot dot slash) sequence with (1) double slashes or (2) URL encoding.


Affected software

Action Mailer
ruby-actionmailer (Alpine package)
ruby-redmine-actionmailer (Alpine package)
rubygem-sprockets
Fedora

How to mitigate CVE-2014-7819

Install update from vendor's website.

Action Mailer - addressed in versions 2.0.5, 2.2.3, 2.3.3, 3.0.0
ruby-actionmailer (Alpine package) - update to 4.0.12-r0
ruby-redmine-actionmailer (Alpine package) - update to 3.2.21-r0
rubygem-sprockets - update to 2.12.1-3.fc21

External References

Related Security Bulletins