In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsThere is no fixed version for Centos:8 python-psycopg2.
Note: Versions mentioned in the description apply only to the upstream python-psycopg2 package and not the python-psycopg2 package as distributed by Centos.
See How to fix? for Centos:8 relevant fixed versions and status.
The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.open_code() to read the .pyc files. sys.audit handlers for this audit event therefore do not fire.