Vulnerability Discussion
Without cryptographic integrity protections, information can be altered by unauthorized users without detection.
Cryptographic mechanisms used for protecting the integrity of information include, for example, signed hash functions using asymmetric cryptography enabling distribution of the public key to verify the hash information while maintaining the confidentiality of the secret key used to generate the hash.
AlmaLinux OS 9 incorporates systemwide crypto policies by default. The employed algorithms can be viewed in the /etc/crypto-policies/back-ends/ directory.
Check
Note: If the "bind" package is not installed, this requirement is Not Applicable.
Verify that BIND uses the system crypto policy with the following command:
$ grep include /etc/named.conf
include "/etc/crypto-policies/back-ends/bind.config";
If BIND is installed and the BIND config file does not contain the "/etc/crypto-policies/back-ends/bind.config" directive, or the line is commented out, this is a finding.
Fix
Configure BIND to use the systemwide crypto policy.
Add the following line to the "options" section in "/etc/named.conf":
include "/etc/crypto-policies/back-ends/bind.config";