Bug 2210276 - openscap shows IPv6 as enabled even if it is disabled
Summary: openscap shows IPv6 as enabled even if it is disabled
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: scap-security-guide
Version: 7.9
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Marcus Burghardt
QA Contact: Milan Lysonek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-26 12:19 UTC by achadha
Modified: 2023-08-14 07:50 UTC (History)
8 users (show)

Fixed In Version: scap-security-guide-0.1.69-1.el7_9
Doc Type: Bug Fix
Doc Text:
.Applicability changes of rules related to IPv6 configuration Compliance rules that are related to IPv6 configuration will now return "notapplicable" result when IPv6 is disabled on the target system. The applicability will be determined based on presence of `ipv6.disable` in the `GRUB_CMDLINE_LINUX` value in the `/etc/default/grub` configuration file. If this option is not present there or set to 0, the rules will be considered applicable and will be evaluated. The following rules are affected by this change: - disabling_ipv6_autoconfig - network_ipv6_default_gateway - network_ipv6_privacy_extensions - network_ipv6_static_address - sysctl_net_ipv6_conf_all_accept_ra - sysctl_net_ipv6_conf_all_accept_ra_defrtr - sysctl_net_ipv6_conf_all_accept_ra_pinfo - sysctl_net_ipv6_conf_all_accept_ra_rtr_pref - sysctl_net_ipv6_conf_all_accept_redirects - sysctl_net_ipv6_conf_all_accept_source_route - sysctl_net_ipv6_conf_all_autoconf - sysctl_net_ipv6_conf_all_forwarding - sysctl_net_ipv6_conf_all_max_addresses - sysctl_net_ipv6_conf_all_router_solicitations - sysctl_net_ipv6_conf_default_accept_ra - sysctl_net_ipv6_conf_default_accept_ra_defrtr - sysctl_net_ipv6_conf_default_accept_ra_pinfo - sysctl_net_ipv6_conf_default_accept_ra_rtr_pref - sysctl_net_ipv6_conf_default_accept_redirects - sysctl_net_ipv6_conf_default_accept_source_route - sysctl_net_ipv6_conf_default_autoconf - sysctl_net_ipv6_conf_default_forwarding - sysctl_net_ipv6_conf_default_max_addresses - sysctl_net_ipv6_conf_default_router_solicitations
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-158292 0 None None None 2023-05-26 12:22:10 UTC

Description achadha 2023-05-26 12:19:24 UTC
Description of problem:

Even after disabling IPv6 on the system, running the openscap scan shows that IPv6 is still enabled on the system

Version-Release number of selected component (if applicable):
scap-security-guide

How reproducible:


Steps to Reproduce:
1. Disable IPv6 on system under /etc/default/grub 
    GRUB_CMDLINE_LINUX="ipv6.disable=1"
2. Attach openscap policy to the system
3. Run openscap scan on the system

Actual results:
Openscap reports IPv6 is still enabled

Expected results:
Openscap should not report IPv6 is enabled 

Additional info:

Comment 5 Marcus Burghardt 2023-07-13 06:25:02 UTC
Fix is merged in Upstream: https://github.com/ComplianceAsCode/content/pull/10830


Note You need to log in before you can comment on or make changes to this bug.