CVE-2012-2140
rubygem-mail: arbitrary command execution when using exim or sendmail from commandline
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 2.0 base score, scored by NVD.
- Access vector
- Network
- Access complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
AV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness: CWE-20
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | <2.4.3 | 2.4.32.4.4 |
Open a package to see all its vulnerabilities.
Operating systems · 5 fixes
debian 4 releases · 1 package
fixed 4
ruby-mail
| Release | Package | Fixed in |
|---|---|---|
| 11 | ruby-mail | 2.4.4-1 |
| 12 | ruby-mail | 2.4.4-1 |
| 13 | ruby-mail | 2.4.4-1 |
| 14 | ruby-mail | 2.4.4-1 |
echo 1 release · 1 package
fixed 1
ruby-mail
| Release | Package | Fixed in |
|---|---|---|
| ruby-mail | 2.4.4-1 |
References
- lists.fedoraproject.org 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
- secunia.com http://secunia.com/advisories/48970
- www.openwall.com 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
- access.redhat.com https://access.redhat.com/security/cve/CVE-2012-2140
- bugzilla.novell.com https://bugzilla.novell.com/show_bug.cgi?id=759092
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=816352
- github.com https://github.com/mikel/mail
Show all 15 references
- github.com https://github.com/mikel/mail/blob/9beb079c70d236a5ad2e1ba95b2c977e55deb7af/CHANGELOG.rdoc
- github.com https://github.com/mikel/mail/commit/39b590ddb08f90ddbe445837359a2c8843e533d0
- github.com https://github.com/mikel/mail/commit/ac56f03bdfc30b379aeecd4ff317d08fdaa328c2
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2012-2140
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2012-2140
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.