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-5019950
  • published26 Jul 2021
  • disclosed13 Jun 2014

Introduced: 13 Jun 2014

CVE-2014-4038  (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 allows local users to overwrite arbitrary files via a symlink attack related to (1) rtas_errd/diag_support.c and /tmp/get_dt_files, (2) scripts/ppc64_diag_mkrsrc and /tmp/diagSEsnap/snapH.tar.gz, or (3) lpd/test/lpd_ela_test.sh and /var/tmp/ras.

CVSS Scores

version 3.1