Insecure Temporary File Affecting java-1.5.0-ibm-javacomm package, versions <1:1.5.0.16.6-1jpp.1.el6_5


Severity

Recommended
high

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-CENTOS6-JAVA150IBMJAVACOMM-2098973
  • 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:6 java-1.5.0-ibm-javacomm to version 1:1.5.0.16.6-1jpp.1.el6_5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream java-1.5.0-ibm-javacomm package and not the java-1.5.0-ibm-javacomm package as distributed by Centos. See How to fix? for Centos:6 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