OSSN-0092: Using Configuration as a Short-Term Mitigation for OSSA-2023-003

Summary

An unauthorized access to a volume could occur when an iSCSI or FC connection from a host is severed due to a volume being unmapped on the storage system and the device is later reused for another volume on the same host.

Affected Services / Software

  • cinder (<20.2.1, >=21.0.0 <21.2.1, ==22.0.0)

  • glance_store (<3.0.1, >=4.0.0 <4.1.1, >=4.2.0 <4.3.1)

  • nova (<25.1.2, >=26.0.0 <26.1.2, ==27.0.0)

  • os-brick (<5.2.3, >=6.0.0 <6.1.1, >=6.2.0 <6.2.2)

Discussion

It is recommended to apply the fixes provided in OSSA-2023-003: https://security.openstack.org/ossa/OSSA-2023-003.html

Updating an OpenStack deployment may take a long time requiring a proper maintenance window and may even require a validation process of the release prior to the deployment, so operators may prefer applying tactical configuration changes to their cloud to prevent harmful actions while they go through their standardized process.

In this case the fastest way to prevent an unsafe attach deletion is twofold:

  1. Ensuring that Nova uses a user with a service role to send its token on all the requests made to Cinder on behalf of users.

  2. Cinder protects the vulnerable APIs via policy.

Contacts / References

Author: Brian Rosmaita (Red Hat), Dan Smith (Red Hat), Gorka Eguileor (Red Hat), Jeremy Stanley (OpenInfra Foundation), Nick Tait (Red Hat)