CME-406
Signed Package Enforcement (GPG)
Description
Rejects installation of unsigned or tampered RPM/DEB packages by validating GPG signatures against trusted keys. Prevents supply chain attacks via package repositories.
CVSS Vector Impacts
| Metric | Transition | Rationale |
|---|---|---|
| Integrity (I) | H → L | Cannot install tampered packages; cryptographic verification enforced |
CWE Relationships
Verification
Verify gpgcheck enabled for all repos
$ grep -r 'gpgcheck' /etc/yum.repos.d/ | grep -v 'gpgcheck=1'
Platform: rhel
$ rpm -qa gpg-pubkey
# Expected: gpg-pubkey
# Expected: gpg-pubkey
Platform: rhel