CVE-2019-14864 Ansible: Splunk and Sumologic callback plugins leak sensitive data in logs
Fixes #63522
Signed-off-by: Patrick O’Brien <patrick.obrien@thetradedesk.com>
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit c76e074e4c
)
This commit is contained in:
parent
ab910e1f5a
commit
75288a89d0
3 changed files with 8 additions and 0 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- '**security issue** - Ansible: Splunk and Sumologic callback plugins leak sensitive data in logs (CVE-2019-14864)'
|
|
@ -98,6 +98,9 @@ class SplunkHTTPCollectorSource(object):
|
||||||
else:
|
else:
|
||||||
ansible_role = None
|
ansible_role = None
|
||||||
|
|
||||||
|
if 'args' in result._task_fields:
|
||||||
|
del result._task_fields['args']
|
||||||
|
|
||||||
data = {}
|
data = {}
|
||||||
data['uuid'] = result._task._uuid
|
data['uuid'] = result._task._uuid
|
||||||
data['session'] = self.session
|
data['session'] = self.session
|
||||||
|
|
|
@ -89,6 +89,9 @@ class SumologicHTTPCollectorSource(object):
|
||||||
else:
|
else:
|
||||||
ansible_role = None
|
ansible_role = None
|
||||||
|
|
||||||
|
if 'args' in result._task_fields:
|
||||||
|
del result._task_fields['args']
|
||||||
|
|
||||||
data = {}
|
data = {}
|
||||||
data['uuid'] = result._task._uuid
|
data['uuid'] = result._task._uuid
|
||||||
data['session'] = self.session
|
data['session'] = self.session
|
||||||
|
|
Loading…
Reference in a new issue