Rule ID
SV-261274r1186206_rule
Version
V1R4
CCIs
Changes to any software components can have significant effects on the overall security of SLEM 5. This requirement ensures the software has not been tampered with and has been provided by a trusted vendor. Accordingly, patches, service packs, device drivers, or SLEM 5 components must be signed with a certificate recognized and approved by the organization. Verifying the authenticity of the software prior to installation validates the integrity of the patch or upgrade received from a vendor. This ensures the software has not been tampered with and that it has been provided by a trusted vendor. Self-signed certificates are disallowed by this requirement. SLEM 5 should not have to verify the software again. This requirement does not mandate DOD certificates for this purpose; however, the certificate used to verify the software must be from an approved Certification Authority (CA). For zypper on SUSE Linux Enterprise systems, GPG signature checking is enabled by default for all repositories, even if it's not explicitly set in /etc/zypp/zypp.conf or individual .repo files. The presence of the gpgcheck setting in repository files (like gpgcheck=1) or a global zypp.conf entry would override this default behavior if the user wanted to disable it (e.g., gpgcheck=0), but its absence simply means the default is in effect.
Verify the SLEM 5 tool zypper has gpgcheck enabled with the following command:
> grep -i '^gpgcheck' /etc/zypp/zypp.conf
If "gpgcheck" is set to "off", this is a finding.Configure the SLEM 5 tool zypper to enable gpgcheck. Add or modify the following line in the "/etc/zypp/zypp.conf" file or remove the line completely, ensuring the default zypper setting is enabled: gpgcheck = on