Current Series Release Notes

13.0.1-32

New Features

  • The new use_oslo_cache option has been added to the auth_token middleware and the external_oauth2_token middleware. When this option is set to True (it defaults to False), token cache data is stored to the cacke bachend managed by the oslo.cache library.

Upgrade Notes

  • In application credential access rule paths only the documented wildcards *, ** and {tag} are special. Every other character, including regular expression metacharacters such as ., +, | or (, is now matched literally. Access rules that relied on those characters acting as a regular expression no longer match the requests they used to, and those requests are denied until the rules are replaced with the documented wildcards. A warning is logged for access rule paths containing + ? | ( ) [ ], \, .* or .+, and for unmatched { or }, which are ignored.

Deprecation Notes

  • The [keystone_authtoken] service_token_roles_required option has been deprecated. Setting this option to False allows any token to be used as a service token and weakens API security.

  • The following options have been deprecated.

    • [keystone_authtoken] memcache_security_strategy, in favor of [keystone_authtoken] cache_security_strategy.

    • [keystone_authtoken] memcache_secret_key, in favor of [keystone_authtoken] cache_secret_key.

    • [ext_oauth2_auth] memcache_security_strategy, in favor of [ext_oauth2_auth] cache_security_strategy.

    • [ext_oauth2_auth] memcache_secret_key, in favor of [ext_oauth2_auth] cache_secret_key.

Security Issues

  • [bug 2162748] auth_token middleware no longer treats the mere presence of an X-Service-Token header as sufficient to skip application credential access_rules checks or token binding (enforce_token_bind, including Kerberos). Both paths now require the service token to also be valid (service_token_valid). Previously an arbitrary X-Service-Token value could bypass access_rules and, when delay_auth_decision was enabled, skip Kerberos (or other) binding so a stolen bound user token would be marked Confirmed without a Negotiate session.

  • [bug 2167923] The auth_token middleware no longer converts the path of an application credential access rule into a regular expression. Access rules are set by application credential owners, so an authenticated user could craft a path pattern (regular expression metacharacters or many adjacent wildcards) that made the middleware consume excessive CPU time while checking a request. Paths are now matched in time proportional to the product of the pattern and request path lengths, and the total amount of work spent on one request is bounded. A request for which the access rules cannot be evaluated within that bound is denied.

Bug Fixes

  • When encountering a corrupted token from the cache, the previous behavior was to log the event as an error. However, this situation is expected and correctly handled in some scenarios. This commit changes the log level to ‘info’ to keep operators aware without treating it as an environment error that affects production.

Other Notes

  • Using [keystone_authtoken] memcache_use_advanced_pool = False has been formally undeprecated, because eventlet is being removed from OpenStack globally.