False Positive finding with configure_openssl_tls_crypto_policy
on UBI 9 container
#13439
Labels
8000
configure_openssl_tls_crypto_policy
on UBI 9 container
#13439
Description of problem:
xccdf_org.ssgproject.content_rule_configure_openssl_tls_crypto_policy
in STIG mode presents a false positive finding if ran on a minimized redhat UBI container that does not have thesudo
utility.sudo grep -i MinProtocol /etc/crypto-policies/back-ends/opensslcnf.config
and expects back the TLS and DTLS protocol versions. If ran on a redhat system withoutsudo
, the command returnsbash: sudo: command not found
which is returned as a False Positive.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
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
sudo
-podman run --rm -it $image /bin/bash
grep -i MinProtocol /etc/crypto-policies/back-ends/opensslcnf.config
sudo grep -i MinProtocol /etc/crypto-policies/back-ends/opensslcnf.config
Actual Results:
fail
Expected Results:
pass
Additional Information/Debugging Steps:
The text was updated successfully, but these errors were encountered: