Insecure Temporary File Affecting java-1.7.0-openjdk-devel package, versions <1:1.7.0.55-2.4.7.2.el7_0


Severity

Recommended
critical

Based on CentOS security rating.

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insecure Temporary File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-JAVA170OPENJDKDEVEL-2029529
  • published26 Jul 2021
  • disclosed3 Feb 2014

Introduced: 3 Feb 2014

CVE-2014-1876  (opens in a new tab)
CWE-377  (opens in a new tab)

How to fix?

Upgrade Centos:7 java-1.7.0-openjdk-devel to version 1:1.7.0.55-2.4.7.2.el7_0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream java-1.7.0-openjdk-devel package and not the java-1.7.0-openjdk-devel package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

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.

CVSS Scores

version 3.1