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


Severity

Recommended
critical

Based on Red Hat Enterprise Linux security rating

    Threat Intelligence

    EPSS
    0.04% (11th 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 ID SNYK-RHEL7-JAVA170OPENJDKACCESSIBILITY-4470144
  • published 26 Jul 2021
  • disclosed 3 Feb 2014

How to fix?

Upgrade RHEL:7 java-1.7.0-openjdk-accessibility to version 1:1.7.0.55-2.4.7.2.el7_0 or higher.
This issue was patched in RHSA-2014:0675.

NVD Description

Note: Versions mentioned in the description apply only to the upstream java-1.7.0-openjdk-accessibility package and not the java-1.7.0-openjdk-accessibility package as distributed by RHEL. See How to fix? for RHEL: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
Expand this section

NVD

5.3 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    Low
Expand this section

Red Hat

3.3 low