{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2012-2139","id":"CVE-2012-2139","title":"Mail Gem Path Traversal vulnerability","description":"Directory traversal vulnerability in lib/mail/network/delivery_methods/file_delivery.rb in the Mail gem before 2.4.4 for Ruby allows remote attackers to read arbitrary files via a .. (dot dot) in the to parameter.","descriptionLong":"Directory traversal vulnerability in lib/mail/network/delivery_methods/file_delivery.rb in the Mail gem before 2.4.4 for Ruby allows remote attackers to read arbitrary files via a .. (dot dot) in the to parameter.","published":"2012-07-18T18:00:00.000Z","updated":"2026-06-16T23:41:04.160Z","reserved":"2012-04-04T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"mail","purl":"pkg:gem/mail","ranges":["<2.4.4"],"fixed":["2.4.4"],"advisory":"GHSA-cj92-c4fj-w9c5"}],"cwes":["CWE-22"],"aliases":["GHSA-cj92-c4fj-w9c5"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=816352","tags":["x_refsource_MISC","x_transferred","report","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2012/04/25/8","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://bugzilla.novell.com/show_bug.cgi?id=759092","tags":["x_refsource_MISC","x_transferred","report","web"]},{"url":"http://secunia.com/advisories/48970","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://github.com/mikel/mail/commit/29aca25218e4c82991400eb9b0c933626aefc98f","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","evidence","fix","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2012/04/26/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2139","tags":["advisory"]},{"url":"https://github.com/mikel/mail","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.04923,"epssPercentile":0.92292,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2012-2139","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2139","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2012-2139","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cj92-c4fj-w9c5","ok":true,"note":"GHSA-cj92-c4fj-w9c5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2012-2139","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}