OSSA-2024-001: Arbitrary file access through custom QCOW2 external data

Date:

July 02, 2024

CVE:

CVE-2024-32498

Affects

  • Cinder: <22.1.3, >=23.0.0 <23.1.1, ==24.0.0

  • Glance: <26.0.1, ==27.0.0, >=28.0.0 <28.0.2

  • Nova: <27.3.1, >=28.0.0 <28.1.1, >=29.0.0 <29.0.3

Description

Martin Kaesberger reported a vulnerability in QCOW2 image processing for Cinder, Glance and Nova. By supplying a specially created QCOW2 image which references a specific data file path, an authenticated user may convince systems to return a copy of that file’s contents from the server resulting in unauthorized access to potentially sensitive data. All Cinder deployments are affected; only Glance deployments with image conversion enabled are affected; all Nova deployments are affected.

Patches

Credits

  • Martin Kaesberger from none (CVE-2024-32498)

References

Notes

  • Due to the scope of the problem and complexity of the resulting fixes, regressions and additional bypasses were reported in the original bug by downstream stakeholders during the coordinated disclosure period. As a result, our initially chosen publication date was rescheduled, which put the advisory four days past our promised ninety day maximum embargo length. Additional revised patches and regression fixes were supplied to stakeholders as soon as possible, but we understand the unfortunate timing of these last- minute changes resulted in a lot of additional work for everyone involved.