yaml.load is a security risk, should use yaml.safe_load
Bug #1634265 reported by
Craig Bryant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Tuan | ||
Community App Catalog |
Fix Released
|
Undecided
|
Unassigned | ||
Heat Templates |
In Progress
|
Undecided
|
Tuan | ||
Heat Translator |
Fix Released
|
Undecided
|
Tuan | ||
Karbor |
In Progress
|
Undecided
|
Tuan | ||
Monasca |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Data Processing ("Sahara") sahara-tests |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Undecided
|
Tuan | ||
Rally |
Fix Released
|
Undecided
|
Tuan | ||
diskimage-builder |
Fix Released
|
Wishlist
|
Tuan | ||
keystoneauth |
Fix Released
|
Undecided
|
Tuan | ||
kolla-kubernetes |
Confirmed
|
Undecided
|
ravig | ||
python-ironicclient |
Fix Released
|
High
|
Tuan | ||
tacker |
Fix Released
|
Undecided
|
Tuan | ||
tempest |
Fix Released
|
Wishlist
|
Dao Cong Tien |
Bug Description
Multiple places in the code do a yaml.load(). Bandit flags this as a security risk so they should all be replaced with yaml.safe(). Unclear how much of a problem this really is, but it is better to pass the security scanners.
Changed in monasca: | |
assignee: | nobody → Tuan (tuanla) |
assignee: | Tuan (tuanla) → nobody |
Changed in heat-templates: | |
assignee: | nobody → Tuan (tuanla) |
Changed in heat-translator: | |
assignee: | nobody → Tuan (tuanla) |
Changed in cinder: | |
assignee: | nobody → Tuan (tuanla) |
Changed in diskimage-builder: | |
assignee: | nobody → Tuan (tuanla) |
Changed in karbor: | |
assignee: | nobody → Tuan (tuanla) |
Changed in python-ironicclient: | |
importance: | Undecided → High |
Changed in rally: | |
assignee: | nobody → Tuan (tuanla) |
Changed in keystoneauth: | |
assignee: | nobody → Tuan (tuanla) |
status: | New → Fix Released |
Changed in diskimage-builder: | |
status: | New → In Progress |
Changed in heat-templates: | |
status: | New → In Progress |
Changed in tempest: | |
assignee: | nobody → Anthony Washington (anthony-washington) |
status: | New → In Progress |
Changed in diskimage-builder: | |
importance: | Undecided → Wishlist |
Changed in tempest: | |
assignee: | nobody → Dao Cong Tien (tiendc) |
importance: | Undecided → Wishlist |
Changed in cinder: | |
assignee: | nobody → Tuan (tuanla) |
status: | Invalid → In Progress |
Changed in karbor: | |
status: | New → In Progress |
Changed in heat-translator: | |
status: | New → In Progress |
tags: | removed: in-feature-v2 |
Changed in tempest: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/387680 /git.openstack. org/cgit/ openstack/ monasca- agent/commit/ ?id=1e1f1309011 e2b0adfda5d3ad9 bc4027551c6c22
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1e1f1309011e2b0 adfda5d3ad9bc40 27551c6c22
Author: Craig Bryant <email address hidden>
Date: Mon Oct 17 14:59:29 2016 -0600
Replace yaml.load() with yaml.safe_load()
Bandit flags yaml.load() as security risk so replace all occurrences
with yaml.safe_load()
Change-Id: I8d0b322b9083c6 3a75bc34caf2a67 fc05d8a4390
Closes-Bug: #1634265