1.2.2 Ensure the latest software package is installed

Information

As new security vulnerabilities are discovered, the corresponding fixes are implemented by your NGINX software package provider. Installing the latest software version ensures these fixes are available on your system.

Rationale:

Up-to-date software provides the best possible protection against exploitation of security vulnerabilities, such as the execution of malicious code.

Solution

To install the latest NGINX package, run the following command:
Redhat:

dnf update nginx -y

See Also

https://workbench.cisecurity.org/files/4212