This python error appears when trying to run under python2 certain python3-only code. But in this case, it appears when attempting to run an ansible playbook.
* SECURITY UPDATE: Information Disclosure
- debian/patches/CVE-2022-3697.patch: fixed a password leaking issue in
ansible
- CVE-2022-3697
* SECURITY UPDATE: Template Injection
- debian/patches/CVE-2023-5764-[1-2].patch: fixed a template injection flaw
in ansible
- CVE-2023-5764
-- Amir Naseredini <email address hidden> Tue, 18 Jun 2024 19:01:50 +0100
```
Looking for calls to super() with no parameters, there are a number of them on /usr/lib/python2.7/dist-packages/ansible/utils/unsafe_proxy.py and /usr/lib/python2.7/dist-packages/ansible/template/init.py, which seem to be the ones causing the above error.
I don't know what python versions are supported by ansible 2.14. This could be either an upstream bug (if it is expected to keep python2 compatibility) or only one on the backport.
This python error appears when trying to run under python2 certain python3-only code. But in this case, it appears when attempting to run an ansible playbook.
It seems to have been caused by the change:
``` dfsg-1ubuntu0. 1+esm2) bionic-security; urgency=medium
ansible (2.5.1+
* SECURITY UPDATE: Information Disclosure patches/ CVE-2022- 3697.patch: fixed a password leaking issue in patches/ CVE-2023- 5764-[1- 2].patch: fixed a template injection flaw
- debian/
ansible
- CVE-2022-3697
* SECURITY UPDATE: Template Injection
- debian/
in ansible
- CVE-2023-5764
-- Amir Naseredini <email address hidden> Tue, 18 Jun 2024 19:01:50 +0100
```
Looking for calls to super() with no parameters, there are a number of them on /usr/lib/ python2. 7/dist- packages/ ansible/ utils/unsafe_ proxy.py and /usr/lib/ python2. 7/dist- packages/ ansible/ template/ init.py, which seem to be the ones causing the above error.
Upstream commit https:/ /github. com/ansible/ ansible/ commit/ 7239d2d371bc6e2 74cbb7314e01431 adce6ae25a# diff-65f6e2e766 6c65b61d2dd334c a36e459e04854c3 dc040e91c870886 d01ce7aa7 certainly adds both `def call()` with super().call(obj, *args, **kwargs) on template/_init_.py as well as a series of super() at unsafe_proxy.py
I don't know what python versions are supported by ansible 2.14. This could be either an upstream bug (if it is expected to keep python2 compatibility) or only one on the backport.