DescriptionDirectory traversal vulnerability in the MimeBodyPart.getFileName method in JavaMail 1.3.2 allows remote attackers to write arbitrary files via a .. (dot dot) in the filename in the Content-Disposition header.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs304712

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libgnumail-java (PTS)stretch1.1.2-10vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


This just provides an Java API function to receive a file name, sanitising
this file name for further use must be done inside the application calling
the function

Search for package or bug name: Reporting problems