Time-of-check Time-of-use (TOCTOU) Affecting ppc64-diag package, versions <0:2.6.7-6.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (6th 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-RHEL7-PPC64DIAG-4528841
  • published26 Jul 2021
  • disclosed13 Jun 2014

Introduced: 13 Jun 2014

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

How to fix?

Upgrade RHEL:7 ppc64-diag to version 0:2.6.7-6.el7 or higher.
This issue was patched in RHSA-2015:0383.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ppc64-diag package and not the ppc64-diag package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

ppc64-diag 2.6.1 uses 0775 permissions for /tmp/diagSEsnap and does not properly restrict permissions for /tmp/diagSEsnap/snapH.tar.gz, which allows local users to obtain sensitive information by reading files in this archive, as demonstrated by /var/log/messages and /etc/yaboot.conf.

CVSS Scores

version 3.1