4.2.17 Restrict Access to SYSCAT.PACKAGEAUTH

Information

The SYSCAT.PACKAGEAUTH view contains the package privileges granted to the user or a group of users. It is recommended that the PUBLIC role be restricted from accessing this view.

Rationale:

The list of all users with access to a package should not be exposed to the public.

Solution

Perform the following to revoke access from PUBLIC.

Connect to the Db2 database.

db2 => connect to <dbname>

Run the following command:

db2 => REVOKE SELECT ON SYSCAT.PACKAGEAUTH FROM PUBLIC

See Also

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