AZLX-23-000125 - Amazon Linux 2023 must have GPG signature verification enabled for all software repositories.

Information

Changes to any software components can have significant effects on the overall security of Amazon Linux 2023. This requirement ensures the software has not been tampered with and that it has been provided by a trusted vendor.

All software packages must be signed with a cryptographic key recognized and approved by the organization.

Verifying the authenticity of software prior to installation validates the integrity of the software package received from a vendor. This verifies the software has not been tampered with and that it has been provided by a trusted vendor.

Solution

Configure Amazon Linux 2023 to verify the signature of packages from a repository prior to installation by setting the following option in the "/etc/yum.repos.d/[your_repo_name].repo" file:

gpgcheck=1

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Amazon_Linux_2023_V1R1_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-5(3), CAT|I, CCI|CCI-003992, Rule-ID|SV-273998r1119982_rule, STIG-ID|AZLX-23-000125, Vuln-ID|V-273998

Plugin: Unix

Control ID: ab6ee1dfc143647ab8d59403019b3d4dde93cf4823bd8ed703e0ef03bbe89234