Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:gem/mail@2.2.15
purl pkg:gem/mail@2.2.15
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.
2.4.3
Affected by 3 other vulnerabilities.
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-m9tp-apd1-z7c6 Improper Input Validation The deliver function in the sendmail delivery agent (lib/mail/network/delivery_methods/sendmail.rb) in Ruby Mail gem allows remote attackers to execute arbitrary commands via shell metacharacters in an e-mail address. CVE-2011-0739
GHSA-cpjc-p7fc-j9xh
OSV-70667

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T20:37:12.920248+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:29:56.779331+00:00 GitLab Importer Fixing VCID-m9tp-apd1-z7c6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/mail/CVE-2011-0739.yml 38.4.0
2026-04-16T17:34:26.373518+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.126936+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.590768+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.387765+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:28.031796+00:00 GitLab Importer Fixing VCID-m9tp-apd1-z7c6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/mail/CVE-2011-0739.yml 38.3.0
2026-04-11T21:31:10.824460+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.556071+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:21.958766+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.075992+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:30.862897+00:00 GitLab Importer Fixing VCID-m9tp-apd1-z7c6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/mail/CVE-2011-0739.yml 38.1.0
2026-04-02T19:29:52.367499+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.128261+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.306851+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.539646+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:22.396429+00:00 GHSA Importer Fixing VCID-m9tp-apd1-z7c6 https://github.com/advisories/GHSA-cpjc-p7fc-j9xh 38.0.0
2026-04-01T15:46:35.630810+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.336087+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:15.589366+00:00 GithubOSV Importer Fixing VCID-m9tp-apd1-z7c6 https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-cpjc-p7fc-j9xh/GHSA-cpjc-p7fc-j9xh.json 38.0.0
2026-04-01T12:46:46.209441+00:00 GitLab Importer Fixing VCID-m9tp-apd1-z7c6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/mail/CVE-2011-0739.yml 38.0.0