Skip to main content

Standard for the security of IaaS service software

Introduction

Software security relies on bug patches and security updates being available for specific versions of the software. The services, which build the IaaS Layer should be updated on a regular basis based on updates provided by their respective authors or distributors. But older releases or versions of the software of these services may not receive updates anymore. Unpatched versions should not be used in deployments as they are a security risk, so this standard will define how CSPs should deal with software versions and security updates.

Terminology

TermExplanation
CSPCloud Service Provider, provider managing the OpenStack infrastructure.
SLURPSkip Level Upgrade Release Process - A Process that allows upgrades between two releases, while skipping the one in between them.
OSSNOpenStack Security Note - security issues from 3rd parties or due to misconfigurations.
OSSAOpenStack Security Advisories - security issues and advices for OpenStack.

Motivation

On the IaaS Layer the software, that needs to be considered in the scope of this standard, is mainly the APIs of IaaS Services. Also there might be shared libraries and other dependencies, that could be considered part of the IaaS Layer. In software projects like e.g. OpenStack that provide the main services and all APIs, the software will be modified and receive bug fixes continuously and will receive releases of new versions on a regular basis. Older releases will at some point not receive updates anymore, because maintaining more and more releases simultaneously requires too much manpower. Thus older versions will also eventually not receive security updates anymore. Using versions which do not receive updates anymore threatens the baseline security of deployments and should be avoided under all circumstances.

Design Considerations

It would be possible to define a minimum version of IaaS Layer software to avoid security risks. In the following paragraphs several options of defining a minimum version or dealing with security patches otherwise are discussed.

Options considered

Only Allow the current versions of Software

Considering that OpenStack as one provider of IaaS Layer Software has two releases per year, with one SLURP release per year, this option would require CSPs to update their deployment once or twice a year. Updating a whole deployment is a lot of work and requires also good life-cycle management. Following only the SLURP releases would reduce this work to once per year.

While following new releases closely already provides a deployment with recent bug fixes and new features, it also makes developing standards easier. Differences between releases will accumulate eventually and may render older releases non-compliant to the SCS standards at some point.

On the other hand on the IaaS Level there aren't many breaking changes introduced by releases and also most standards will also work with older releases. Security updates and bug fixes are also provided by OpenStack for a few older releases with the state maintained according to the OpenStack releases overview1. Additionally the SCS reference implementation is integrating OpenStack releases after half a year - so about the time when a new release is published by OpenStack. Considering a CSP that wants to use only SLURP releases and waits for the reference implementation to adopt them, will already lag over a year (i.e. 2 OpenStack releases) behind the latest release, this cannot be considered as using the current version of IaaS Layer Software. Thus this option can be discarded.

Allow only maintained versions of Software

While following closely to the newest releases could be advised, there are several downsides to requiring this workflow, even if it would be only for SLURP releases. Following the SCS reference implementation for example would also lead into being a little bit behind the newest OpenStack release. But this is not as bad as it may seem to be, because security related fixes and bug fixes are backported to older but still maintained releases. All releases that are still maintained can be looked up at the releases page from OpenStack1.

Allowing maintained versions would give CSPs a little bit more time to update and test their environments, while still receiving relevant security updates and bug fixes. Also CSPs that want to become SCS-compliant will not have to take on the burden to upgrade their deployments to very recent releases immediately, but can instead test with an existing release before an upgrade and identify where they need to put in additional work to become SCS-compliant.

One problem is, that there might be new features implemented in the newest versions of the software, which are desired by other SCS standards to be SCS-compliant. In that case allowing all maintained versions would lead to a two-year timespan customers would need to wait for before such a feature becomes available in all SCS-compliant deployments. In case of security relevant features this is not advisable.

Standards implicitly define the minimum versions of Software

Instead of requiring a defined minimum software version centrally, it could be derived from the individual standards. Because: Whenever there is a new wanted behavior a standard should be created and a resonable timeframe given to CSPs to adopt a software version that can fulfill the new standard. Through the combination of all standards that are in place, the minimum version for the IaaS service software is implicitly given.

This would avoid to have conflicting versions of software in terms of feature parity, while also allowing older software. Using this approach requires an additional advise to CSPs to update or implement patches for security issues.

Advise CSPs to integrate software updates

As long as maintained versions of software are used, updates with security patches are available and only need to be integrated. This can and should be done in a reasonable short timeframe.

But CSPs may even use releases of IaaS software, that are either not maintained anymore by an open source community or may be even closed source implementations of the mandatory IaaS APIs. Allowing older versions or closed source software would only be acceptable, when CSPs assure (e.g. in documentation), that they themself will patch the software within their deployments. Security bug fixes must be implemented and proof of the fix then provided. Only under these circumstances deployments with older or alternative IaaS Layer software may be handled as compliant.

This option could be taken for granted, but to actually advise using it may encourage CSPs to take a closer look on their life-cycle management and security risk handling. And CSPs using OpenStack could even be encouraged to upgrade their deployments.

Dependencies of the IaaS Layer Software

While the IaaS service software like OpenStack itself is monitored and security issues announced in OSSNs and OSSAs, these services have lots of dependecies, that are not monitored by the same entity. When dependencies have security issues, there might be no OSSN or OSSA, so CSPs also need to watch CVEs concerning these dependencies themselves. Those dependencies must also be updated in a reasonable timeframe, when a security issue is disclosed.

What timeframe is needed to fix the issue?

CSPs should be encouraged to fix security issues as fast as possible. Some security issues are very easy to exploit so as soon as the vulnerability is disclosed attacks on deployments will start. Other vulnerabilities may need much knowledge and more time to be exploited. Also the impact of different vulnerabilities will differ.

So it can be concluded that some security issues need to be fixed immediately while for others it is okay to take some time. The BSI already has some guidance2 on how fast CSPs should respond. From the moment a vulnerability is disclosed these are the advised reaction times ranked by the severity of the vulnerability:

  1. Critical (CVSS = 9.0 – 10.0): 3 hours
  2. High (CVSS = 7.0 – 8.9): 3 days
  3. Mid (CVSS = 4.0 – 6.9): 1 month
  4. Low (CVSS = 0.1 – 3.9): 3 months

This standard will follow this guidance and refer to these timeframes as "reasonable timeframes".

Standard for a minimum IaaS Layer Software version

If a deployment is affected by a security issue and a maintained1 version of OpenStack is used as implementation for IaaS Layer software, security patches noted in OSSNs and OSSAs MUST be integrated within a reasonable timeframe according to the severity of the security issue2. Otherwise the CSP MUST implement security bug fixes themself within a reasonable timeframe, when the deplyoment is affected by a security issue according to the severity of the security issue2.

In both cases a notice of the update MUST be send to the OSBA, so that the compliance will not be revoked.

If a deployment uses a dependency of the IaaS service software which is affected by a security issue, this software also MUST be updated with security patches within a reasonable timeframe2.

An open SBOM list MAY be used to propagate the current version of the software and may be used as proof of updates.

Conformance Tests

In case of provided SBOMs the version numbers of the software could be checked. But this is not a requirement, so there cannot be such a test. Tests on the integration of security patches itself are difficult. And even if tests for certain security issues are possible, then those might be interpreted as an attack. This is the reason there will be no conformance test.

Rather the standard requires that CSPs provide notice of the fixed vulnerabilites themselves.

Footnotes

  1. OpenStack versions and their current status 2 3

  2. C5 criteria catalog with timeframes for responses on page 70. 2 3 4