Problem:
We see multiple versions of Python software installations by Foreman application in RHEL.
Some of the packages in Python versions have been flagged for high security vulnerabilities.
For e.g:
Python Library Brotli <= 1.1.0 DoS
Is there a way to find out all the Python versions used by Foreman
so we can uninstall the Python version that are not used
Python versions:
3.9
3.11
3.12
Expected outcome:
No multiple python versions in Foreman
Foreman and Proxy versions:
foreman-3.18.0-0.5.rc2.el9.noarch
foreman-proxy-3.18.0-0.1.rc2.el9.noarch
Foreman and Proxy plugin versions:
foreman-tasks, 11.1.0
foreman_remote_execution, 16.5.1
katello, 4.20.0
Distribution and version:
Red Hat Enterprise Linux release 9.7 (Plow)
Other relevant data: