Hi there! 👋Thanks for providing a great project.
Because yaml.load() has known security issues, would it be feasible to use the existing yaml.safe_load() option instead of yaml.load() here for load_yaml_from_docstring? I'm happy to put in a PR if you agree. It looks like Ansible has been using only yaml.safe_load() since v1.1.
It doesn't look like there's been much activity by PyYAML to move forward with making load() safe by default. Here is the pending PyYAML 4.2 release plan: yaml/pyyaml#193
The PyYAML security vulnerability is being flagged for our FEC API.
Please let me know if you have any questions, and thanks!
Laura
Hi there! 👋Thanks for providing a great project.
Because
yaml.load()has known security issues, would it be feasible to use the existingyaml.safe_load()option instead ofyaml.load()here forload_yaml_from_docstring? I'm happy to put in a PR if you agree. It looks like Ansible has been using only yaml.safe_load() since v1.1.It doesn't look like there's been much activity by PyYAML to move forward with making
load()safe by default. Here is the pending PyYAML 4.2 release plan: yaml/pyyaml#193The PyYAML security vulnerability is being flagged for our FEC API.
Please let me know if you have any questions, and thanks!
Laura