STIGQter STIGQter: STIG Summary: Red Hat Enterprise Linux 9 Security Technical Implementation Guide Version: 2 Release: 9 Benchmark Date: 01 Jul 2026:

RHEL 9 must have GPG signature verification enabled for all software repositories.

DISA Rule

SV-257822r1155615_rule

Vulnerability Number

V-257822

Group Title

SRG-OS-000366-GPOS-00153

Rule Version

RHEL-09-214025

Severity

CAT I

CCI(s)

Weight

10

Fix Recommendation

Configure all software repositories defined in "/etc/yum.repos.d/" to have "gpgcheck" enabled:

$ sudo sed -i 's/gpgcheck\s*=.*/gpgcheck=1/g' /etc/yum.repos.d/*

Check Contents

Verify all software repositories defined in "/etc/yum.repos.d/" have been configured with "gpgcheck" enabled:

$ grep -w gpgcheck /etc/yum.repos.d/*.repo | more

/etc/yum.repos.d/redhat.repo:gpgcheck = 1

For all listed repos, if "gpgcheck" is not set to "1", or if the option is missing or commented out, ask the system administrator how the GPG signatures of local software packages are being verified.

If there is no process to verify GPG signatures that is approved by the organization, this is a finding.

Vulnerability Number

V-257822

Documentable

False

Rule Version

RHEL-09-214025

Severity Override Guidance

Verify all software repositories defined in "/etc/yum.repos.d/" have been configured with "gpgcheck" enabled:

$ grep -w gpgcheck /etc/yum.repos.d/*.repo | more

/etc/yum.repos.d/redhat.repo:gpgcheck = 1

For all listed repos, if "gpgcheck" is not set to "1", or if the option is missing or commented out, ask the system administrator how the GPG signatures of local software packages are being verified.

If there is no process to verify GPG signatures that is approved by the organization, this is a finding.

Check Content Reference

M

Target Key

5551