Skip to content
OpenAdvisories
High CVE-2012-2140 EUVD-2017-0304GHSA-rp63-jfmw-532w

Mail Gem Improper Input Validation vulnerability

Published Jul 18, 2012 · Updated Aug 6, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ruby-mail 2.4.4-1 —
Debian 13 ruby-mail 2.4.4-1 —
Debian 12 ruby-mail 2.4.4-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems mail < 2.4.3 2.4.3 GHSA-rp63-jfmw-532w

References