Hide Forgot
'MultiPartParser' allowed directory-traversal via uploaded files with suitably crafted file names.
How can I get more details on the issue? It doesn't look I can access CVE by the link in the title.
Ansible Tower doesn't use the vulnerable function i.e. "MultiPartParser" which causes Django vulnerable to this bug. Hence, marking Ansible Tower as "Not Affected".
pulp_ansible appears to use the affected entity: https://github.com/pulp/pulp_ansible/blob/master/pulp_ansible/app/viewsets.py#L280 pulpcore is currently planning a 3.12 release for 8-APR, if Django-2.2.20 is released we might want to up our current requirement from 2.2.19.
Created python-django tracking bugs for this issue: Affects: epel-all [bug 1946581] Affects: fedora-all [bug 1946580] Affects: openstack-rdo [bug 1946582]
External References: https://www.djangoproject.com/weblog/2021/apr/06/security-releases/
Django 1.11.29 and 1.11.13 is also affected as those uses `IE_sanitize` functions in source code. Django can not confirm this officially as its extended support ended on April 1, 2020: https://www.djangoproject.com/download/ django/http/multipartparser.py: ~~~ 211 file_name = disposition.get('filename') 212 if file_name: 213 file_name = force_text(file_name, encoding, errors='replace') 214 file_name = self.IE_sanitize(unescape_entities(file_name)) 215 if not file_name: 216 continue ... 306 def IE_sanitize(self, filename): 307 """Cleanup filename from Internet Explorer full paths.""" 308 return filename and filename[filename.rfind("\\") + 1:].strip() ~~~
Statement: Although Red Hat Ansible Tower ships the flawed code, it does not use the vulnerable function i.e. "MultiPartParser" and therefore will not be updated. Red Hat Update Infrastructure ship affected version of python-django however RHUI v3 is in maintenance support phase and we are only fixing critical and important fixes. Please refer RHUI support lifecycle page for more information: https://access.redhat.com/support/policy/updates/rhui.
This issue has been addressed in the following products: Red Hat Satellite 6.10 for RHEL 7 Via RHSA-2021:4702 https://access.redhat.com/errata/RHSA-2021:4702
This issue has been addressed in the following products: Red Hat OpenStack Platform 16.1 Via RHSA-2021:5070 https://access.redhat.com/errata/RHSA-2021:5070