was introduced by this commit: https://review.openstack.org/#/c/13684/ which was merged more than 3 years ago, but looking at the surrounding code at the time, the problem was there even before the patch, since we'd just grab the image format from glance which is completely user controlled as well.
This is very similar to https:/ /bugs.launchpad .net/nova/ +bug/1221190
The problematic line
https:/ /github. com/openstack/ nova/blob/ b5890b3c3661391 9338f83c4f59225 f424c99cb1/ nova/virt/ libvirt/ driver. py#L1357
was introduced by this commit: https:/ /review. openstack. org/#/c/ 13684/ which was merged more than 3 years ago, but looking at the surrounding code at the time, the problem was there even before the patch, since we'd just grab the image format from glance which is completely user controlled as well.
So this does not seem like a regression.