PT-2012-3831 · Ruby+1 · Mail+1

Vincent Danen

·

Published

2012-07-05

·

Updated

2017-10-24

·

CVE-2012-2139

CVSS v2.0

5.0

Medium

VectorAV:N/AC:L/Au:N/C:P/I:N/A:N
Name of the Vulnerable Software and Affected Versions Mail gem versions prior to 2.4.4
Description The issue allows remote attackers to read arbitrary files via a .. (dot dot) in the to parameter. This is due to a directory traversal vulnerability in the lib/mail/network/delivery methods/file delivery.rb file.
Recommendations For Mail gem versions prior to 2.4.4, update to version 2.4.4 or later to resolve the issue. As a temporary workaround, consider restricting access to the file delivery.rb module to minimize the risk of exploitation. Avoid using the to parameter with untrusted input in the affected API endpoint until the issue is resolved.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2012-2139
GHSA-CJ92-C4FJ-W9C5
SUSE-SU-2012_0843-1

Affected Products

Mail
Suse