Information
The extension directory is the location of the PostgreSQL extensions. Extensions are storage engines or user defined functions (UDFs).
Limiting the accessibility of these objects will protect the confidentiality, integrity, and availability of the PostgreSQL database. If someone can modify extensions, then these extensions can be used to execute illicit instructions.
Solution
If needed, correct the permissions on the extension dir by executing:
# whoami
root
# chown -c root:root $(/usr/pgsql-17/bin/pg_config --sharedir)/extension
# chmod -c 0755 $(/usr/pgsql-17/bin/pg_config --sharedir)/extension
If the permissions needed correct, it is
imperative
that all extensions found in $(/usr/pgsql-17/bin/pg_config --sharedir)/extension are evaluated to ensure they have not been modified!