Incorrect Default Permissions Affecting sos-collector package, versions <0:1.5-3.el7_6


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.43% (37th 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-SOSCOLLECTOR-4913641
  • published26 Jul 2021
  • disclosed27 Sept 2018

Introduced: 27 Sep 2018

CVE-2018-14650  (opens in a new tab)
CWE-276  (opens in a new tab)

How to fix?

Upgrade RHEL:7 sos-collector to version 0:1.5-3.el7_6 or higher.
This issue was patched in RHSA-2018:3663.

NVD Description

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

It was discovered that sos-collector does not properly set the default permissions of newly created files, making all files created by the tool readable by any local user. A local attacker may use this flaw by waiting for a legit user to run sos-collector and steal the collected data in the /var/tmp directory.