Link Following Affecting java-1.6.0-openjdk-demo package, versions <1:1.6.0.0-67.1.13.3.64.amzn1


Severity

Recommended
high

Based on Amazon Linux 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 IDSNYK-AMZN201803-JAVA160OPENJDKDEMO-1673534
  • published27 Sept 2021
  • disclosed10 Feb 2014

Introduced: 10 Feb 2014

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

How to fix?

Upgrade Amazon-Linux:2018.03 java-1.6.0-openjdk-demo to version 1:1.6.0.0-67.1.13.3.64.amzn1 or higher.
This issue was patched in ALAS-2014-326.

NVD Description

Note: Versions mentioned in the description apply only to the upstream java-1.6.0-openjdk-demo package and not the java-1.6.0-openjdk-demo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 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