2025.1 Series Release Notes

2025.1-eom-2

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.

Security Issues

  • [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.

2025.1-eom

Upgrade Notes

  • The service_token_roles_required option now defaults to True. This means that service tokens must contain a role from the service_token_roles list (default: ['service']) to be considered valid. Operators should verify that:

    • Service users have one of the roles listed in service_token_roles (by default, the service role).

    • If your deployment intentionally relied on the previous permissive behavior (accepting any valid token as a service token), you can restore it by explicitly setting service_token_roles_required=False in the [keystone_authtoken] section, though this is strongly discouraged for security reasons.

    If service tokens are rejected after upgrading, ensure the service users have the appropriate role assigned in Keystone.

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.

  • The service_token_roles_required option in [keystone_authtoken] now defaults to True instead of False. This fixes a security issue where any valid token could be used as a service token when the default was False. With the previous default, a user token placed in X-Service-Token would be accepted as a valid service token, which could bypass application credential access-rules checks and weaken composite-auth protections intended to distinguish service-to-service requests from end-user requests.

10.9.0

New Features

  • Add the feature to support SASL for keystonemiddleware to improve the security of authority. memcache_sasl_enabled: enable the SASL option or not. memcache_username: the user name for the SASL memcache_password: the user password for SASL