Security mailing lists by PureSourceCode

CVE-2012-2140

HIGH 7.5CVSS 2.0

Mail Gem Improper Input Validation vulnerability

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.

Published
18 Jul 2012
Last modified
16 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-20
Also known as
GHSA-rp63-jfmw-532w
Sources
NVDJSONOSV GHSA-rp63-jfmw-532wJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD rubygems mail_gem
cpe:2.3:a:rubygems:mail_gem:*:*:*:*:*:*:*:*
<= 2.4.1
NVD rubygems mail_gem
cpe:2.3:a:rubygems:mail_gem:2.3.2:*:*:*:*:*:*:*
= 2.3.2
NVD rubygems mail_gem
cpe:2.3:a:rubygems:mail_gem:2.3.3:*:*:*:*:*:*:*
= 2.3.3
OSV RubyGems mail < 2.4.3 2.4.3

References

History

  • 25 Nov 2026 20:16 UTC · NVD: first stored (published 18 Jul 2012)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.