mirror of https://github.com/ansible/ansible.git
[2.8] CVE-2020-1746 - Remove the params module option from ldap_attr and ldap_entry (#68715)
* Remove the params module option from ldap_attr and ldap_entry
Module options that circumvent Ansible's option handling were disallowed
in:
https://meetbot.fedoraproject.org/ansible-meeting/2017-09-28/ansible_dev_meeting.2017-09-28-15.00.log.html
Additionally, this particular usage can be insecure if bind_pw is set
this way as the password could end up in a logfile or displayed on
stdout.
Fixes CVE-2020-1746
(cherry picked from commit 0ff609f1bc)
* Fix formatting for option names
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Fix fail_json
* update sanity
* fix indentation error
Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
pull/68673/head
parent
5eabf7bb93
commit
e6199d768c
@ -0,0 +1,8 @@
|
||||
removed_features:
|
||||
- "ldap_attr, ldap_entry - The ``params`` option has been removed in
|
||||
Ansible-2.10 as it circumvents Ansible's option handling. Setting
|
||||
``bind_pw`` with the ``params`` option was disallowed in Ansible-2.7, 2.8,
|
||||
and 2.9 as it was insecure. For information about this policy, see the
|
||||
discussion at:
|
||||
https://meetbot.fedoraproject.org/ansible-meeting/2017-09-28/ansible_dev_meeting.2017-09-28-15.00.log.html
|
||||
This fixes CVE-2020-1746"
|
||||
Loading…
Reference in New Issue