# CVE-2012-2139: Mail Gem Path Traversal vulnerability

Source: https://junglewise.ai/threats/cve-2012-2139-mail-gem-path-traversal-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2017-10-24  
License: CC BY 4.0 with a link back

CVE-2012-2139 · Severity: info · Published 2017-10-24

Mail Gem Path Traversal vulnerability

Technologies: [mail (RubyGems)](https://junglewise.ai/threats/technologies/mail). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2012-2139 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2012-2139 being exploited in the wild.

**How severe is CVE-2012-2139?** Informational severity, published 24 October 2017.

**Which products and versions are affected?** mail (RubyGems) ECOSYSTEM:introduced=0,fixed=2.4.4.

**Is there a fix for CVE-2012-2139?** Yes. mail (RubyGems): upgrade to 2.4.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2012-2139?** Check whether you run mail (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- mail (RubyGems): upgrade to 2.4.4 or later

  ```sh
  bundle update mail
  ```


## Affected products

- mail (RubyGems) ECOSYSTEM:introduced=0,fixed=2.4.4

## Identifiers

- CVE-2012-2139
- GHSA-cj92-c4fj-w9c5

## Related threats

- [mail email address spoofing via malformed RFC 2047 encoded-words](https://junglewise.ai/threats/cve-2026-63435-mail-email-address-spoofing-via-malformed-rfc-2047-encoded-words)
- [Mail Gem Improper Input Validation vulnerability](https://junglewise.ai/threats/cve-2012-2140-mail-gem-improper-input-validation-vulnerability)
- [Mail Improper Input Validation vulnerability](https://junglewise.ai/threats/cve-2011-0739-mail-improper-input-validation-vulnerability)
- [Mail Gem CRLF Injection vulnerability](https://junglewise.ai/threats/cve-2015-9097-mail-gem-crlf-injection-vulnerability)
