Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:gem/mail@2.4.3
purl pkg:gem/mail@2.4.3
Next non-vulnerable version 2.5.5
Latest non-vulnerable version 2.7.0.rc1
Risk 4.0
Vulnerabilities affecting this package (3)
Vulnerability Summary Fixed by
VCID-1svp-fwt6-pbey
Aliases:
CVE-2015-9097
GHSA-q86f-fmqf-qrf6
OSV-131677
SMTP Injection via to/from addresses The mail package does not disallow CRLF in email addresses; an attacker can inject SMTP commands in specially crafted email addresses passed to `RCPT TO` and `MAIL FROM`.
2.5.5.rc1
Affected by 1 other vulnerability.
2.5.5
Affected by 0 other vulnerabilities.
2.6.6.rc1
Affected by 0 other vulnerabilities.
2.7.0.rc1
Affected by 0 other vulnerabilities.
VCID-3xkv-ckqz-r3dx
Aliases:
CVE-2012-2140
GHSA-rp63-jfmw-532w
OSV-81632
Improper Input Validation The Mail gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a (1) sendmail or (2) exim delivery. There are no reported fixed by versions.
VCID-z8cv-3uer-pqbm
Aliases:
CVE-2012-2139
GHSA-cj92-c4fj-w9c5
OSV-81631
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') Directory traversal vulnerability in lib/mail/network/delivery_methods/file_delivery.rb in the Mail gem for Ruby allows remote attackers to read arbitrary files via a .. (dot dot) in the to parameter.
2.4.4
Affected by 1 other vulnerability.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-3xkv-ckqz-r3dx Improper Input Validation The Mail gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a (1) sendmail or (2) exim delivery. CVE-2012-2140
GHSA-rp63-jfmw-532w
OSV-81632

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T20:37:12.955213+00:00 GitLab Importer Affected by VCID-1svp-fwt6-pbey https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/mail/CVE-2015-9097.yml 38.4.0
2026-04-16T20:30:08.778491+00:00 GitLab Importer Affected by VCID-z8cv-3uer-pqbm https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/mail/CVE-2012-2139.yml 38.4.0
2026-04-16T20:30:08.704700+00:00 GitLab Importer Fixing VCID-3xkv-ckqz-r3dx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/mail/CVE-2012-2140.yml 38.4.0
2026-04-16T17:34:26.403096+00:00 Ruby Importer Affected by VCID-z8cv-3uer-pqbm https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mail/CVE-2012-2139.yml 38.4.0
2026-04-16T17:34:26.156472+00:00 Ruby Importer Affected by VCID-3xkv-ckqz-r3dx https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mail/CVE-2012-2140.yml 38.4.0
2026-04-16T01:19:15.629747+00:00 GHSA Importer Affected by VCID-1svp-fwt6-pbey https://github.com/advisories/GHSA-q86f-fmqf-qrf6 38.4.0
2026-04-11T21:47:50.428046+00:00 GitLab Importer Affected by VCID-1svp-fwt6-pbey https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/mail/CVE-2015-9097.yml 38.3.0
2026-04-11T21:40:36.503921+00:00 GitLab Importer Affected by VCID-z8cv-3uer-pqbm https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/mail/CVE-2012-2139.yml 38.3.0
2026-04-11T21:40:36.430634+00:00 GitLab Importer Fixing VCID-3xkv-ckqz-r3dx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/mail/CVE-2012-2140.yml 38.3.0
2026-04-11T21:31:10.854205+00:00 Ruby Importer Affected by VCID-z8cv-3uer-pqbm https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mail/CVE-2012-2139.yml 38.3.0
2026-04-11T21:31:10.588929+00:00 Ruby Importer Affected by VCID-3xkv-ckqz-r3dx https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mail/CVE-2012-2140.yml 38.3.0
2026-04-11T12:47:22.010561+00:00 GHSA Importer Affected by VCID-1svp-fwt6-pbey https://github.com/advisories/GHSA-q86f-fmqf-qrf6 38.3.0
2026-04-02T22:01:45.112513+00:00 GitLab Importer Affected by VCID-1svp-fwt6-pbey https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/mail/CVE-2015-9097.yml 38.1.0
2026-04-02T21:54:42.697510+00:00 GitLab Importer Affected by VCID-z8cv-3uer-pqbm https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/mail/CVE-2012-2139.yml 38.1.0
2026-04-02T21:54:42.623607+00:00 GitLab Importer Fixing VCID-3xkv-ckqz-r3dx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/mail/CVE-2012-2140.yml 38.1.0
2026-04-02T19:29:52.396005+00:00 Ruby Importer Affected by VCID-z8cv-3uer-pqbm https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mail/CVE-2012-2139.yml 38.1.0
2026-04-02T19:29:52.157286+00:00 Ruby Importer Affected by VCID-3xkv-ckqz-r3dx https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mail/CVE-2012-2140.yml 38.1.0
2026-04-02T13:42:42.322124+00:00 GHSA Importer Affected by VCID-1svp-fwt6-pbey https://github.com/advisories/GHSA-q86f-fmqf-qrf6 38.1.0
2026-04-01T16:18:57.582224+00:00 GitLab Importer Affected by VCID-1svp-fwt6-pbey https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/mail/CVE-2015-9097.yml 38.0.0
2026-04-01T15:56:21.713995+00:00 GHSA Importer Fixing VCID-3xkv-ckqz-r3dx https://github.com/advisories/GHSA-rp63-jfmw-532w 38.0.0
2026-04-01T15:46:35.664626+00:00 Ruby Importer Affected by VCID-z8cv-3uer-pqbm https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mail/CVE-2012-2139.yml 38.0.0
2026-04-01T15:46:35.379867+00:00 Ruby Importer Affected by VCID-3xkv-ckqz-r3dx https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mail/CVE-2012-2140.yml 38.0.0
2026-04-01T12:54:23.742712+00:00 GithubOSV Importer Fixing VCID-3xkv-ckqz-r3dx https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-rp63-jfmw-532w/GHSA-rp63-jfmw-532w.json 38.0.0
2026-04-01T12:46:47.104702+00:00 GitLab Importer Affected by VCID-z8cv-3uer-pqbm https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/mail/CVE-2012-2139.yml 38.0.0
2026-04-01T12:46:47.086765+00:00 GitLab Importer Fixing VCID-3xkv-ckqz-r3dx https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/mail/CVE-2012-2140.yml 38.0.0