Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Product Name

CIS-CAT Pro Assessor v4

Product Version

All

Date



Problem

Info

Ubuntu patched a security vulnerability in sudo.  With this patch in place, sudo performs a hostname lookup when called.  If this lookup doesn’t return a timely result sudo will take an unexpectedly long time to respond thus causing a CIS-CAT remote assessment to “hang”.

The patch impacts the following Ubuntu versions;

  • Ubuntu 20.04

  • Ubuntu 18.04

  • Ubuntu 16.04

Solution

  1. Run the command “hostnamectl status” and note the Static hostname of the system

  2. Review the file “/etc/nsswitch” and verify that “hosts” line list “files” as the first option

  3. Edit the file “/etc/hosts” and add the static hostname of the system as the first option on the lines beginning with “127.0.0.1” and “::1”.  Example: “127.0.0.1  myhost.mydomain.com myhost  localhost”

Note

Systems not running IPv6 will not have a line beginning with “::1” in the “/etc/hosts” file.

If a line beginning with “127.0.0.1” does not exist of a system with IPv4 enabled, add this line to the “/etc/hosts” file

Keywords;

Content by Label

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "sbp_fer"

Copyright © 2020

Center for Internet Security®


Page Properties
hiddentrue

Action

Name(s)

Date

Linked ticket

Created by

Chris Boldiston

Reviewed by

Approved by

Amanda McGown Andrew Preston Elizabeth Chaharyn Chris Boldiston

Remove by