{"description": "To disable weak dependencies, set the <tt>install_weak_deps</tt> option to <tt>0</tt> in the <tt>/etc/dnf/dnf.conf</tt> file.", "rationale": "Unless a system specifically requires the additional capabilities provides by the weak\ndependencies, it is recommended that the packages are not installed to reduce the\npotential attack surface.", "severity": "medium", "references": {}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "the install_weak_deps option is not set to 0", "ocil": "To verify that weak dependencies are disabled, run the following command:\n<pre># grep -Pi -- '^\\h*install_weak_deps\\h*=\\h*(0|false|no)\\b' /etc/dnf/dnf.conf</pre>\nThe output should return the following:\n<pre>install_weak_deps = 0</pre>", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": [], "cpe_platform_names": [], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Disable Installation of Weak Dependencies in DNF", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/software/updating/disable_weak_deps/rule.yml", "template": null}