Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MEDIUM | RHEL-08-010295 - Lineinfile correction #196

Closed
jmalpede opened this issue Apr 27, 2023 · 1 comment
Closed

MEDIUM | RHEL-08-010295 - Lineinfile correction #196

jmalpede opened this issue Apr 27, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jmalpede
Copy link

The current CAT 2 fix for MEDIUM | RHEL-08-010295 appends the rhel8stig_gnutls_encryption variable after +VERS-ALL:, which results in an additiona +VERS-ALL: in the line:

SYSTEM=NONE:+MAC-ALL:-MD5:+GROUP-ALL:-GROUP-X25519:-GROUP-X448:+SIGN-ALL:-SIGN-RSA-MD5:-SIGN-RSA-SHA1:-SIGN-DSA-SHA1:-SIGN-ECDSA-SHA1:-SIGN-DSA-SHA224:-SIGN-DSA-SHA256:-SIGN-DSA-SHA384:-SIGN-DSA-SHA512:-SIGN-EDDSA-ED25519:-SIGN-EDDSA-ED448:+CIPHER-ALL:-CHACHA20-POLY1305:-CAMELLIA-256-GCM:-CAMELLIA-128-GCM:-CAMELLIA-256-CBC:-CAMELLIA-128-CBC:-3DES-CBC:-ARCFOUR-128:+ECDHE-RSA:+ECDHE-ECDSA:+DHE-RSA:+VERS-ALL:+VERS-ALL:-VERS-DTLS0.9:-VERS-SSL3.0:-VERS-TLS1.0:-VERS-TLS1.1:-VERS-DTLS1.0

Expected Behavior
When the line should have only one +VERS-ALL:.
SYSTEM=NONE:+MAC-ALL:-MD5:+GROUP-ALL:-GROUP-X25519:-GROUP-X448:+SIGN-ALL:-SIGN-RSA-MD5:-SIGN-RSA-SHA1:-SIGN-DSA-SHA1:-SIGN-ECDSA-SHA1:-SIGN-DSA-SHA224:-SIGN-DSA-SHA256:-SIGN-DSA-SHA384:-SIGN-DSA-SHA512:-SIGN-EDDSA-ED25519:-SIGN-EDDSA-ED448:+CIPHER-ALL:-CHACHA20-POLY1305:-CAMELLIA-256-GCM:-CAMELLIA-128-GCM:-CAMELLIA-256-CBC:-CAMELLIA-128-CBC:-3DES-CBC:-ARCFOUR-128:+ECDHE-RSA:+ECDHE-ECDSA:+DHE-RSA:+VERS-ALL:-VERS-DTLS0.9:-VERS-SSL3.0:-VERS-TLS1.0:-VERS-TLS1.1:-VERS-DTLS1.0

Control(s) Affected
Vul ID: V-230256 Rule ID: SV-230256r877394_rule STIG ID: RHEL-08-010295

Environment (please complete the following information):

  • Ansible Version: 2.10
  • RHEL 8

Possible Solution
Change the rhel8stig_gnutls_encryption variable by dropping the "+VERS-ALL:" to correct the line to the correct format.
rhel8stig_gnutls_encryption: "-VERS-DTLS0.9:-VERS-SSL3.0:-VERS-TLS1.0:-VERS-TLS1.1:-VERS-DTLS1.0"

@jmalpede jmalpede added the bug Something isn't working label Apr 27, 2023
@uk-bolly uk-bolly self-assigned this May 2, 2023
@uk-bolly
Copy link
Member

hi @jmalpede

Thank you as always for taking the time to raise the issue and provide a solution. We are happy to say this fix is now in the latest release.

I will therefore close this issue.

thanks

uk-bolly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants