Insecure Temporary File Affecting conmon package, versions <2:2.0.21-1.rhaos4.5.el7


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.2% (60th 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-CONMON-5251075
  • published26 Jul 2021
  • disclosed1 Oct 2020

Introduced: 1 Oct 2020

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

How to fix?

Upgrade RHEL:7 conmon to version 2:2.0.21-1.rhaos4.5.el7 or higher.
This issue was patched in RHSA-2021:0429.

NVD Description

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

As mitigation for CVE-2020-1945 Apache Ant 1.10.8 changed the permissions of temporary files it created so that only the current user was allowed to access them. Unfortunately the fixcrlf task deleted the temporary file and created a new one without said protection, effectively nullifying the effort. This would still allow an attacker to inject modified source files into the build process.

References

CVSS Scores

version 3.1