-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
rhel-8.10.z
-
None
-
No
-
Low
-
rhel-security-crypto
-
ssg_security
-
None
-
False
-
False
-
-
Yes
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
Known Issue
-
-
Proposed
-
-
x86_64
-
None
What were you trying to do that didn't work?
I'm trying to add a block for cipher suites containing the string "CBC" from RHEL using the subpolicy method described in the documentation
https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/security_hardening/using-the-system-wide-cryptographic-policies_security-hardening#customizing-system-wide-cryptographic-policies-with-subpolicies_using-the-system-wide-cryptographic-policies
What is the impact of this issue to you?
None, I have a workaround
Please provide the package NVR for which the bug is seen:
Name : crypto-policies
Version : 20230731
Release : 1.git3177e06.el8
Architecture: noarch
How reproducible is this bug?:
Every time
Steps to reproduce
- Try any value combination in a subpolicy to eliminate the 6 ciphers:
Discover the options to disable all 6 `CBC` cipher suites and not any others.
Actual results
No ciphers were being removed until I used `cipher = -AES` which excluded the CBC ciphers along with several others.
A workaround for this issue is to remove the subpolicy (to avoid confusion) and append the following to the `/etc/crypto-policies/back-ends/openssl.config` file:
`:!DHE-RSA-AES128-SHA:!DHE-RSA-AES256-SHA:!ECDHE-RSA-AES128-SHA:!ECDHE-RSA-AES256-SHA:!AES128-SHA:!AES256-SHA`
- links to