Insecure Temporary File Affecting openshift-clients package, versions <0:4.5.0-202102051529.p0.git.3612.61b096a.el7


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.08% (35th 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-RHEL7-OPENSHIFTCLIENTS-5251089
  • published26 Jul 2021
  • disclosed13 May 2020

Introduced: 13 May 2020

CVE-2020-1945  (opens in a new tab)
CWE-377  (opens in a new tab)

How to fix?

Upgrade RHEL:7 openshift-clients to version 0:4.5.0-202102051529.p0.git.3612.61b096a.el7 or higher.
This issue was patched in RHSA-2021:0429.

NVD Description

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

Apache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7 uses the default temporary directory identified by the Java system property java.io.tmpdir for several tasks and may thus leak sensitive information. The fixcrlf and replaceregexp tasks also copy files from the temporary directory back into the build tree allowing an attacker to inject modified source files into the build process.

References

CVSS Scores

version 3.1