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 applicationsUpgrade AlmaLinux:8 python27:2.7/python2-psycopg2 to version 0:2.7.5-7.module_el8.6.0+2781+fed64c13 or higher.
This issue was patched in ALSA-2019:0981.
Note: Versions mentioned in the description apply only to the upstream python27:2.7/python2-psycopg2 package and not the python27:2.7/python2-psycopg2 package as distributed by AlmaLinux.
See How to fix? for AlmaLinux:8 relevant fixed versions and status.
SQLAlchemy 1.2.17 has SQL Injection when the group_by parameter can be controlled.