CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2012 · Rubygems

CVE-2012-2139
Rubygems Mail Gem vulnerability

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.

Affected products

Mail Gem. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Rubygems Mail Gem runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Rubygems products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.