CVE-2014-1876
OpenJDK: insecure temporary file use in unpack200 (Libraries, 8033618)
Overview
Description
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.
Source: OX vulnerability database
Severity
4.4 · MEDIUM
CVSS 2.0 base score, scored by NVD.
- Access vector
- Local
- Access complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
AV:L/AC:M/Au:N/C:P/I:P/A:P
Weakness: CWE-59
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 8 fixes
Oracle Linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | java-1-6-0-openjdk +4 | 1:1.6.0.0-6.1.13.3.el7_0 |
| 7 | java-1-7-0-openjdk-779e5b +6 | 1:1.7.0.55-2.4.7.2.0.1.el7_0 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openjdk8 +4 | 1.8.0.382-1.ph4 |
Red Hat 1 release · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | java-1-6-0-ibm | affected | — |
| 7 | java-1-6-0-openjdk +4 | 1:1.6.0.0-6.1.13.3.el7_0 | RHSA-2014:0685 |
| 7 | java-1-7-0-openjdk-779e5b +6 | 1:1.7.0.55-2.4.7.2.el7_0 | RHSA-2014:0675 |
| 7 | java-1-7-1-ibm-0f825a +5 | 1:1.7.1.1.0-1jpp.2.el7_0 | RHSA-2014:0705 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | java-1-7-0-openjdk-35065d +9 | 1.7.0.121-1.1 | openSUSE-SU-2024:10534-1 |
References
- bugs.debian.org http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737562
- marc.info http://marc.info/?l=bugtraq&m=140852886808946&w=2
- marc.info http://marc.info/?l=bugtraq&m=140852974709252&w=2
- osvdb.org http://osvdb.org/102808
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2014-0675.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2014-0685.html
- seclists.org http://seclists.org/oss-sec/2014/q1/242
- seclists.org http://seclists.org/oss-sec/2014/q1/285
- secunia.com http://secunia.com/advisories/58415
- secunia.com http://secunia.com/advisories/59058
Show all 30 references
- security.gentoo.org http://security.gentoo.org/glsa/glsa-201406-32.xml
- www-01.ibm.com http://www-01.ibm.com/support/docview.wss?uid=swg21672080
- www-01.ibm.com http://www-01.ibm.com/support/docview.wss?uid=swg21676746
- www-01.ibm.com http://www-01.ibm.com/support/docview.wss?uid=swg21679713
- www.debian.org http://www.debian.org/security/2014/dsa-2912
- www.oracle.com http://www.oracle.com/technetwork/topics/security/cpuapr2014-1972952.html
- www.oracle.com http://www.oracle.com/technetwork/topics/security/cpuapr2014-1972952.html#AppendixJAVA
- www.securityfocus.com http://www.securityfocus.com/bid/65568
- www.ubuntu.com http://www.ubuntu.com/usn/USN-2187-1
- www.ubuntu.com http://www.ubuntu.com/usn/USN-2191-1
- access.redhat.com https://access.redhat.com/errata/RHSA-2014:0413
- access.redhat.com https://access.redhat.com/errata/RHSA-2014:0414
- access.redhat.com https://access.redhat.com/security/cve/CVE-2014-1876
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1060907
- linux.oracle.com https://linux.oracle.com/cve/CVE-2014-1876.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2014-0685.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2014-1876
- ubuntu.com https://ubuntu.com/security/notices/USN-2187-1
- ubuntu.com https://ubuntu.com/security/notices/USN-2191-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2014-1876
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.