Katello - up to current version - is vulnerable to a SQL injection vulnerability. When a request is made to the katello/api/v2/errata path, it's possible to send carefully-crafted data through the sort_by parameter which are reflected in the vulnerable SQL statement. An attacker can use this vulnerability to generate a malformed SQL query, which, when executed, leaks internal ids from the katello_errata table.
Acknowledgments: Name: Mohamed Tehami