Mail Gem for Ruby File Delivery Method to Parameter Traversal Arbitrary File Manipulation

Metadata

medium
5.0
mail
CVE-2012-2139
osvdb.org
2012-03-14
2017-06-16 18:59
CVE-2012-2139 ruby-mail
2017-04-01 19:10
2017-01-05 20:14

Description

Mail Gem for Ruby contains a flaw that allows a remote attacker to traverse outside of a restricted path. The issue is due to the program not properly sanitizing user input, specifically directory traversal style attacks (e.g., ../../) supplied via the 'to' parameter within the delivery method. This directory traversal attack would allow the attacker to modify arbitrary files.

Am I vulnerable?

The constraints below list the versions that this vulnerability is patched in, and versions that are unaffected. If a patch is ready but unrealeased, then it is pending.

Or, you can just let us figure it out for you! Appcanary continously monitor your installed packages, and tell you if any of them are vulnerable.

Sign up for monitoring

Affected package information

Package Patched in Unaffected in
mail >= 2.4.4 None