False Positive finding with harden_sshd_ciphers_openssh_conf_crypto_policy
on Gitlab UBI 9 container
#13440
Labels
8000
harden_sshd_ciphers_openssh_conf_crypto_policy
on Gitlab UBI 9 container
#13440
Description of problem:
xccdf_org.ssgproject.content_rule_harden_sshd_ciphers_openssh_conf_crypto_policy
in STIG mode presents a false positive finding when ran on our minimized UBI 9 containers./etc/crypto-policies/back-ends/openssh.config
or the regex is failing to parse theCiphers
line from the config file.SCAP Security Guide Version:
Operating System Version:
RHEL 9.5 / UBI 9.5
Steps to Reproduce:
podman pull registry.gitlab.com/gitlab-org/build/cng/gitlab-base:master-fips
$image
with the image hash of the container) -oscap-podman $image xccdf eval --report /tmp/cng-base-stig.html --profile xccdf_org.ssgproject.content_profile_stig /usr/share/xml/scap/ssg/content/ssg-rhel9-ds-1.2.xml
podman run --rm -it $image /bin/bash
cat /etc/crypto-policies/back-ends/openssh.config | grep Ciphers
Actual Results:
fail
Expected Results:
pass
Additional Information/Debugging Steps:
aes192-ctr
as I still get this issue when I tailor that out of the check.The text was updated successfully, but these errors were encountered: