{"id":"UBUNTU-CVE-2014-1876","details":"The unpacker::redirect_stdio function in unpack.cpp in unpack200 in OpenJDK 6, 7, and 8; Oracle Java SE 5.0u61, 6u71, 7u51, and 8; JRockit R27.8.1 and R28.3.1; and Java SE Embedded 7u51 does not securely create temporary files when a log file cannot be opened, which allows local users to overwrite arbitrary files via a symlink attack on /tmp/unpack.log.","modified":"2026-02-04T04:10:53.152236Z","published":"2014-02-10T00:00:00Z","related":["USN-2187-1","USN-2191-1"],"upstream":["CVE-2014-1876"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2014-1876"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1060907"},{"type":"REPORT","url":"http://seclists.org/oss-sec/2014/q1/285"},{"type":"REPORT","url":"http://seclists.org/oss-sec/2014/q1/242"},{"type":"REPORT","url":"http://osvdb.org/102808"},{"type":"REPORT","url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737562"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2187-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2191-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2014-1876"}],"affected":[{"package":{"name":"openjdk-7","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/openjdk-7@7u55-2.4.7-1ubuntu1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7u55-2.4.7-1ubuntu1"}]}],"versions":["7u25-2.3.12-4ubuntu3","7u25-2.3.12-4ubuntu5","7u45-2.4.3-3ubuntu1","7u45-2.4.3-3ubuntu2","7u45-2.4.3-4ubuntu1","7u45-2.4.3-4ubuntu2","7u51-2.4.4-1ubuntu1","7u51-2.4.5-1ubuntu1","7u51-2.4.6~pre1-1ubuntu2","7u51-2.4.6-1ubuntu3","7u51-2.4.6-1ubuntu4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"7u55-2.4.7-1ubuntu1","binary_name":"icedtea-7-jre-jamvm"},{"binary_version":"7u55-2.4.7-1ubuntu1","binary_name":"openjdk-7-demo"},{"binary_version":"7u55-2.4.7-1ubuntu1","binary_name":"openjdk-7-jdk"},{"binary_version":"7u55-2.4.7-1ubuntu1","binary_name":"openjdk-7-jre"},{"binary_version":"7u55-2.4.7-1ubuntu1","binary_name":"openjdk-7-jre-headless"},{"binary_version":"7u55-2.4.7-1ubuntu1","binary_name":"openjdk-7-jre-lib"},{"binary_version":"7u55-2.4.7-1ubuntu1","binary_name":"openjdk-7-jre-zero"},{"binary_version":"7u55-2.4.7-1ubuntu1","binary_name":"openjdk-7-source"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-1876.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"medium"}]}