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_tokenmiddleware 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_requiredoption now defaults toTrue. This means that service tokens must contain a role from theservice_token_roleslist (default:['service']) to be considered valid. Operators should verify that:Service users have one of the roles listed in
service_token_roles(by default, theservicerole).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=Falsein 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_tokenmiddleware no longer treats the mere presence of anX-Service-Tokenheader as sufficient to skip application credentialaccess_ruleschecks or token binding (enforce_token_bind, including Kerberos). Both paths now require the service token to also be valid (service_token_valid). Previously an arbitraryX-Service-Tokenvalue could bypassaccess_rulesand, whendelay_auth_decisionwas enabled, skip Kerberos (or other) binding so a stolen bound user token would be marked Confirmed without a Negotiate session.
The
service_token_roles_requiredoption in[keystone_authtoken]now defaults toTrueinstead ofFalse. This fixes a security issue where any valid token could be used as a service token when the default wasFalse. With the previous default, a user token placed inX-Service-Tokenwould 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