CVE-2014-1876: Java Unpacker - Path Traversal
- Cve: CVE-2014-1876
- Name: Java Unpacker - Path Traversal
- 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.
- Impact: Local users can overwrite arbitrary files via symlink attack, potentially leading to privilege escalation or system compromise.
- Remediation: Update to the latest Java versions where this issue is fixed or apply security patches addressing temporary file creation security.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write, privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs local user access and ability to create symlinks
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.4
- Cvss vector: CVSS:2.0/AV:L/AC:M/Au:N/C:P/I:P/A:P
- Epss score: 0.00456
- Epss percentile: 0.40376
- Assignee: [email protected]
- Published at: 2014-02-10T23:55:05Z
- Age in days: 4670
- Modified at: 2026-06-17T00:05:40Z
- References total: 22
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2014-1876
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-59 | Improper Link Resolution Before File Access |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| oracle:openjdk | = 1.8.0, = 1.7.0, = 1.6.0 | no | nvd | /v1/products/oracle/openjdk |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts