Back to CVE catalog
CVE-2012-2139

Directory traversal in Mail gem for Ruby

Multiple products

At a glance

Directory traversal vulnerability in lib/mail/network/delivery_methods/file_delivery.rb in the Mail gem before 2.4.4 for Ruby allows remote attackers to read arbitrary files via a .. (dot dot) in the to parameter.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityPartial
IntegrityNone
AvailabilityNone

CVSS summary v2.0

5.0Medium
Published:
Updated:
EPSS:
4.923%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:rubygemsmail gemAffected versions:
≤ 2.4.3Show full version range for mail gem
2.3.22.3.32.4.1
Vendor:Debianruby-mail
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2.4.4-1

1–2 of 2 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
None
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:N/A:N
nvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
None
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories14

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences