Automation-controller: automation-controller-container: automation-controller: verbose internal exception disclosure via hostlist bare-exception handler
Red Hat Ansible Automation Platform 2.7 · Red Hat Ansible Automation Platform 2
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Red Hat Ansible Automation Platform 2.7 | — |
|
| Red Hat Red Hat Ansible Automation Platform 2 | — | No fix yet |
| Red Hat Red Hat Ansible Automation Platform 2 | — | No fix yet |
Original description
HostList.list() catches bare Exception and returns str(e) verbatim. Via host_filter, any authenticated user triggers Django FieldError (leaking complete Host model relation graph including internal reverse accessors) or PostgreSQL DataError (leaking raw database error strings). Two primitives: credential__search=x dumps ORM schema, name__regex=[bad reflects PostgreSQL errors.
From the CVE record · redhat