Bug 2099394

Summary: DISA STIG: SCAP kerberos related findings after realm join
Product: Red Hat Enterprise Linux 8 Reporter: Jeremy Absher <jabsher>
Component: scap-security-guideAssignee: Gabriel Gaspar Becker <ggasparb>
Status: CLOSED ERRATA QA Contact: Jiri Jaburek <jjaburek>
Severity: low Docs Contact: Jan Fiala <jafiala>
Priority: unspecified    
Version: 8.6CC: ekolesni, ggasparb, jafiala, jjaburek, mhaicman, mlysonek, mmarhefk, vpolasek, wsato
Target Milestone: rcKeywords: AutoVerified, Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: scap-security-guide-0.1.66-1.el8 Doc Type: Bug Fix
Doc Text:
.Old Kerberos rules changed to `notapplicable` in new versions of RHEL Previously, some Kerberos-related rules failed while scanning against the DISA STIG profile on RHEL 8.8 and later systems in FIPS mode, even though the system should have been compliant. This was caused by the following rules: * `xccdf_org.ssgproject.content_rule_package_krb5-server_removed` * `xccdf_org.ssgproject.content_rule_package_krb5-workstation_removed` * `xccdf_org.ssgproject.content_rule_kerberos_disable_no_keytab` This update makes these rules not applicable for RHEL versions 8.8 and later. As a result, the scan correctly returns the `notapplicable` result for these rules.
Story Points: ---
Clone Of:
: 2168054 2168055 2168056 (view as bug list) Environment:
Last Closed: 2023-05-16 08:39:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2168054, 2168055, 2168056    

Comment 1 Gabriel Gaspar Becker 2022-06-21 08:50:24 UTC
There are some work being done towards fixing this problem which will make the rules notapplicable when packages newer than krb5-server-1.17-18.el8.x86_64 and krb5-workstation-1.17-18.el8.x86_64 (that are FIPS compliant) are installed on the system.

These two pull requests should mitigate the situation by using the CPE applicability

https://github.com/ComplianceAsCode/content/pull/8126
https://github.com/ComplianceAsCode/content/pull/9003

Comment 8 Matus Marhefka 2022-08-26 14:28:02 UTC
Postponing to RHEL-8.8 as the rule_notapplicable_when_ovirt_installed platform in the rule package_krb5-workstation_removed interfere with the platforms which check version of the krb5 packages - this causes that the rule is evaluated as applicable even in cases when it should be notapplicable.

Comment 11 Gabriel Gaspar Becker 2022-10-18 09:16:14 UTC
There is a fix upstream: https://github.com/ComplianceAsCode/content/pull/9412

Comment 33 errata-xmlrpc 2023-05-16 08:39:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (scap-security-guide bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2869