The Photon operating system TDNF package management tool must cryptographically verify the authenticity of all software packages during installation.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| high | V-258846 | SRG-OS-000366-GPOS-00153 | PHTN-40-000130 | SV-258846r1003646_rule | 2024-07-11 | 2 |
Description
Installation of any nontrusted software, patches, service packs, device drivers, or operating system components can significantly affect the overall security of the operating system. This requirement ensures the software has not been tampered with and has been provided by a trusted vendor.
ℹ️ Check
At the command line, run the following command to verify software packages are cryptographically verified during installation:
# grep '^gpgcheck' /etc/tdnf/tdnf.conf
Example result:
gpgcheck=1
If "gpgcheck" is not set to "true", "1", or "yes", this is a finding.
✔️ Fix
Navigate to and open:
/etc/tdnf/tdnf.conf
Add or update the following line:
gpgcheck=1