| name | cis-ubuntu2004-v300-1-2-2-1 |
| description | Ensure updates, patches, and additional security software are installed |
| category | cis-storage |
| version | 3.0.0 |
| author | cyberstrike-official |
| tags | ["cis","ubuntu","linux","ubuntu-20.04","package-management","patching","updates"] |
| cis_id | 1.2.2.1 |
| cis_benchmark | CIS Ubuntu Linux 20.04 LTS Benchmark v3.0.0 |
| tech_stack | ["ubuntu","linux"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
1.2.2.1 Ensure updates, patches, and additional security software are installed (Manual)
Profile
- Level 1 - Server
- Level 1 - Workstation
Description
Periodically patches are released for included software either due to security flaws or to include additional functionality.
Rationale
Newer patches may contain security enhancements that would not be available through the latest full update. As a result, it is recommended that the latest software patches be used to take advantage of the latest functionality. As with any software installation, organizations need to determine if a given update meets their requirements and verify the compatibility and supportability of any additional software against the update revision that is selected.
Audit Procedure
Command Line
Verify there are no updates or patches to install:
Expected Result
No pending updates or patches should be available for installation.
Remediation
Command Line
Run the following commands to update all packages following local site policy guidance on applying updates and patches:
Run the following command to update the system with the available patches and updates:
Run one of the following commands to apply the updates and patches:
Note: When running the command apt dist-upgrade that apt has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. So, dist-upgrade command may remove some packages.
References
- NIST SP 800-53 Rev. 5: SI-2
Additional Information
Site policy may mandate a testing period before installation onto production systems for available updates.
- upgrade - is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list. Packages currently installed with new versions available are retrieved and upgraded; under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed. New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version. An update must be performed first so that apt knows that new versions of packages are available.