CVE-2014-8873

NameCVE-2014-8873
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, 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-6 (PTS)wheezy, wheezy (security)6b38-1.13.10-1~deb7u1fixed
openjdk-7 (PTS)wheezy7u95-2.6.4-1~deb7u1fixed
wheezy (security)7u151-2.6.11-1+deb7u1fixed
jessie7u111-2.6.7-1~deb8u1fixed
jessie (security)7u151-2.6.11-1~deb8u1fixed
openjdk-8 (PTS)stretch (security), stretch8u141-b15-1~deb9u1fixed
buster8u144-b01-1fixed
sid8u144-b01-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
openjdk-6source(unstable)(unfixed)high
openjdk-6sourcesqueeze(not affected)
openjdk-6sourcewheezy(not affected)
openjdk-7source(unstable)7u79-2.5.5-1high
openjdk-7sourcejessie7u79-2.5.6-1~deb8u1highDSA-3316-1
openjdk-7sourcesqueeze(not affected)
openjdk-7sourcewheezy7u79-2.5.6-1~deb7u1highDSA-3316-1
openjdk-8source(unstable)8u45-b14-1high

Notes

[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