The vendor explicitly identifies these products as affected by this CVE.
- sos.src as a component of Red Hat Enterprise Linux 10
- sos as a component of Red Hat Enterprise Linux 6
- sos.src as a component of Red Hat Enterprise Linux 6
- sos as a component of Red Hat Enterprise Linux 7
- sos.src as a component of Red Hat Enterprise Linux 7
- sos-audit as a component of Red Hat Enterprise Linux 8
- sos.src as a component of Red Hat Enterprise Linux 8
- sos-audit as a component of Red Hat Enterprise Linux 9
- sos.src as a component of Red Hat Enterprise Linux 9
- Summary
- A flaw was found in sos clean, a utility within the sos package. This vulnerability allows a local attacker to perform arbitrary file creation or overwrite. By crafting a malicious tar archive, an attacker can exploit a path traversal issue during tar extraction, where symlink and hardlink targets are not properly validated. This enables the attacker to write files to arbitrary locations on the system with the privileges of the sos clean process, which often runs as root.
- Remediation
- To mitigate this issue, avoid using the `sos clean` utility to extract tar archives from untrusted or unknown sources. This vulnerability requires user interaction to process a specially crafted archive.
