You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two bits of vulnerable code found when porting to ndfc-python.
1. plugins/modules/dcnm_fabric.py
Accessing dictionary key directly can lead to a KeyError exception.
2. plugins/module_utils/fabric/replaced.py
If user omits the DEPLOY parameter from their playbook (ndfc-python) the DEPLOY key would be None, and not get popped from the payload. This would cause NDFC to complain about an invalid key in the payload. We need to unconditionally pop DEPLOY here, if it's present. Hence, we've removed the value check (if DEPLOY is not None).
0 commit comments