Chapter 1. Identifying security updates

This chapter elaborates on the security advisories term and describes how you can display a list of available and already installed security updates.

1.1. What are security advisories?

Red Hat provides information about security flaws that affect Red Hat products and services in the form of security advisories.

Red Hat Security Advisories (RHSA) contain important information, such as:

  • Severity
  • Summary of fixed issues
  • Links to the tickets about the problem. Note that not all tickets are public.
  • CVE numbers and links with additional details, such as the attack complexity.

1.2. Displaying available security updates

Use this procedure to list available security updates on your system with the yum utility.

Prerequisites

  • A valid Red Hat subscription is assigned to the host.

Procedure

  1. List the security updates available for the host which have not been installed:

    $ sudo yum updateinfo list updates security
    ...
    RHSA-2019:0997 Important/Sec. platform-python-3.6.8-2.el8_0.x86_64
    RHSA-2019:0997 Important/Sec. python3-libs-3.6.8-2.el8_0.x86_64
    RHSA-2019:0990 Moderate/Sec.  systemd-239-13.el8_0.3.x86_64
    ...

1.3. Displaying security updates that are installed on a host

To display the list of security updates which have been installed on a Red Hat Enterprise Linux 8 host, use the yum updateinfo list security installed command.

Procedure

  1. Display the list of security updates that have been installed on the host:

    $ sudo yum updateinfo list security installed
    ...
    RHSA-2019:1234 Important/Sec. libssh2-1.8.0-7.module+el8+2833+c7d6d092
    RHSA-2019:4567 Important/Sec. python3-libs-3.6.7.1.el8.x86_64
    RHSA-2019:8901 Important/Sec. python3-libs-3.6.8-1.el8.x86_64
    ...

    If multiple updates of a single package have been installed, yum lists all advisories for the package. In the previous example, two security updates for the python3-libs package have been installed since Red Hat Enterprise Linux 8 installation.