DescriptionA .desktop file in the Debian openjdk-7 package 7u79-2.5.5-1~deb8u1 includes a MIME type registration that is added to /etc/mailcap by mime-support, which allows remote attackers to execute arbitrary code via a JAR file.
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)
ReferencesDSA-3235-1, DSA-3316-1
NVD severityhigh (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
openjdk-7 (PTS)jessie7u181-2.6.14-1~deb8u1fixed
jessie (security)7u211-2.6.17-1~deb8u1fixed
openjdk-8 (PTS)stretch8u181-b13-2~deb9u1fixed
stretch (security)8u212-b01-1~deb9u1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
openjdk-6sourcesqueeze(not affected)
openjdk-6sourcewheezy(not affected)
openjdk-7sourcesqueeze(not affected)


[squeeze] - openjdk-6 <not-affected> (MIME type setting is harmless on squeeze)
[wheezy] - openjdk-6 <not-affected> (MIME type setting is harmless on wheezy)
[squeeze] - openjdk-7 <not-affected> (MIME type setting is harmless on this squeeze)
[wheezy] - openjdk-7 <not-affected> (MIME type setting is harmless on wheezy)
Starting with mime-support 3.53, MimeType entries in desktop
files end up in /etc/mailcap, which introduces the user-initiated
code execution.

Search for package or bug name: Reporting problems