Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:gem/mail@2.2.5.2
purl pkg:gem/mail@2.2.5.2
Next non-vulnerable version 2.5.5
Latest non-vulnerable version 2.7.0.rc1
Risk 4.0
Vulnerabilities affecting this package (4)
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-m9tp-apd1-z7c6
Aliases:
CVE-2011-0739
GHSA-cpjc-p7fc-j9xh
OSV-70667
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.
2.2.15
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 (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T20:37:12.884027+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.743762+00:00 GitLab Importer Affected by 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.337396+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.090478+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-16T17:34:17.001926+00:00 Ruby Importer Affected by VCID-m9tp-apd1-z7c6 https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mail/CVE-2011-0739.yml 38.4.0
2026-04-16T01:19:15.551911+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.344771+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:27.983239+00:00 GitLab Importer Affected by 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.788017+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.515464+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-11T21:31:01.498122+00:00 Ruby Importer Affected by VCID-m9tp-apd1-z7c6 https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mail/CVE-2011-0739.yml 38.3.0
2026-04-11T12:47:21.911252+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.039906+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.827108+00:00 GitLab Importer Affected by 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.333560+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.092696+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-02T19:29:44.489282+00:00 Ruby Importer Affected by VCID-m9tp-apd1-z7c6 https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mail/CVE-2011-0739.yml 38.1.0
2026-04-02T13:42:42.291361+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.498581+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-01T16:11:52.148582+00:00 GitLab Importer Affected by VCID-m9tp-apd1-z7c6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/gem/mail/CVE-2011-0739.yml 38.0.0
2026-04-01T15:46:35.588017+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.285618+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-01T15:46:28.179315+00:00 Ruby Importer Affected by VCID-m9tp-apd1-z7c6 https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mail/CVE-2011-0739.yml 38.0.0