Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. mail
  4. ›
  5. CVE-2012-2139

CVE-2012-2139: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

July 18, 2012 (updated October 7, 2013)

Directory traversal vulnerability in lib/mail/network/delivery_methods/file_delivery.rb in the Mail gem for Ruby allows remote attackers to read arbitrary files via a .. (dot dot) in the to parameter.

References

  • nvd.nist.gov/vuln/detail/CVE-2012-2139

Code Behaviors & Features

Detect and mitigate CVE-2012-2139 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.3.2 up to 2.4.3

Fixed versions

  • 2.4.4

Solution

Upgrade to version 2.4.4 or above.

Impact 5 MEDIUM

AV:N/AC:L/Au:N/C:P/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

gem/mail/CVE-2012-2139.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:20 +0000.