VDB

DEBIAN-CVE-2012-2140

DEBIAN-CVE-2012-2140 PUBLISHED CVSS 9.300000190734863 CRITICAL

Record from OSV · Published July 18, 2012

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ruby-mailDebian:132.4.4-1
ruby-mailDebian:142.4.4-1
ruby-mailDebian:122.4.4-1

Risk scores

CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
Debian:13ruby-mail0
Debian:14ruby-mail0
Debian:12ruby-mail0

Timeline

  • Jul 18, 2012 CVE Published
  • Oct 23, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln DEBIAN-CVE-2012-2140
vulnetix vdb fixes DEBIAN-CVE-2012-2140

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2012-2140/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›