CVEvulnerability
CVE-2012-2140
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2012-07-18
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-20
Description
The Mail gem before 2.4.3 for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a (1) sendmail or (2) exim delivery.
Affected configurations
• rubygems mail gem (<= 2.4.1)
• rubygems mail gem 2.3.2
• rubygems mail gem 2.3.3
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html lists.fedoraproject.org
- http://secunia.com/advisories/48970 Vendor Advisory
- http://www.openwall.com/lists/oss-security/2012/04/25/8 www.openwall.com
- http://www.openwall.com/lists/oss-security/2012/04/26/1 www.openwall.com
- https://bugzilla.novell.com/show_bug.cgi?id=759092 bugzilla.novell.com
- https://bugzilla.redhat.com/show_bug.cgi?id=816352 bugzilla.redhat.com
- https://github.com/mikel/mail/blob/9beb079c70d236a5ad2e1ba95b2c977e55deb7af/CHANGELOG.rdoc github.com
- https://github.com/mikel/mail/commit/39b590ddb08f90ddbe445837359a2c8843e533d0 Exploit, Patch
- https://github.com/mikel/mail/commit/ac56f03bdfc30b379aeecd4ff317d08fdaa328c2 Exploit, Patch
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html lists.fedoraproject.org
- http://secunia.com/advisories/48970 Vendor Advisory
- http://www.openwall.com/lists/oss-security/2012/04/25/8 www.openwall.com
- http://www.openwall.com/lists/oss-security/2012/04/26/1 www.openwall.com
- https://bugzilla.novell.com/show_bug.cgi?id=759092 bugzilla.novell.com
- https://bugzilla.redhat.com/show_bug.cgi?id=816352 bugzilla.redhat.com
- https://github.com/mikel/mail/blob/9beb079c70d236a5ad2e1ba95b2c977e55deb7af/CHANGELOG.rdoc github.com
- https://github.com/mikel/mail/commit/39b590ddb08f90ddbe445837359a2c8843e533d0 Exploit, Patch
- https://github.com/mikel/mail/commit/ac56f03bdfc30b379aeecd4ff317d08fdaa328c2 Exploit, Patch