VDB
KO
HIGH 8.2

GHSA-m4f3-qp2w-gwh6

OpenStack Nova calls qemu-img without format restrictions for resize

Details

An issue was discovered in OpenStack Nova before 30.2.2, 31 before 31.2.1, and 32 before 32.1.1. By writing a malicious QCOW header to a root or ephemeral disk and then triggering a resize, a user may convince Nova's Flat image backend to call qemu-img without a format restriction, resulting in an unsafe image resize operation that could destroy data on the host system. Only compute nodes using the Flat image backend (usually configured with use_cow_images=False) are affected.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / nova
Introduced in: 32.0.0.0rc1

No fixed version published yet for nova (pip). Pin to a known-safe version or switch to an alternative.

PyPI / nova
Introduced in: 31.0.0.0rc1

No fixed version published yet for nova (pip). Pin to a known-safe version or switch to an alternative.

PyPI / nova
Introduced in: 0

No fixed version published yet for nova (pip). Pin to a known-safe version or switch to an alternative.

References