Skip to content

Uninstall pigz Package

An XCCDF Rule

Description

The pigz package can be removed with the following command:

$ sudo yum erase pigz

Rationale

Binaries shipped in pigz package in Red Hat Enterprise Linux 8 have not been compiled using recommended compiler flags. The binaries are compiled without sufficient stack protection and its address space layout randomization (ASLR) is weak.

ID
xccdf_org.ssgproject.content_rule_package_pigz_removed
Severity
Low
References
Updated



Remediation - Anaconda Pre-Install Instructions


package --remove=pigz

Remediation - Ansible

- name: Ensure pigz is removed
  package:
    name: pigz
    state: absent
  tags:
  - CCE-82397-1

Remediation - Shell Script


# CAUTION: This remediation script will remove pigz
#	   from the system, and may remove any packages
#	   that depend on pigz. Execute this
#	   remediation AFTER testing on a non-production
#	   system!

Remediation - Puppet

include remove_pigz

class remove_pigz {
  package { 'pigz':
    ensure => 'purged',
  }