Skip to content

v1.1.11

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 12:31
e8a4719

Security fix

This release fixes an authentication bypass in trigger_rules: GHSA-cmhv-x69g-f9jg. It affects v1.0.0 to v1.1.10. Upgrade if you use trigger_rules. Deployments without trigger_rules authenticate every request and are not affected.

Rules were matched against the request path with its query string and ; path parameters left in, and regex rules could match any part of the path. Some requests to protected paths could therefore skip authentication. Trigger rules now match several normalized forms of the path, and every request that v1.1.10 authenticated is still authenticated.

Thanks to @HotWater-015 for reporting this.

What an upgraded installation sees

  • Regex exclusions must match the whole path. For example, ^/static/ now excludes only /static/ (write ^/static/.*), and \.(css|js)$ no longer excludes /app.js (write .*\.(css|js)$). Check load balancer and Kubernetes health checks that pass through authservice, especially ones with a query string.
  • Some exclusions no longer apply. These are exclusions that only match through the query string, fragment, ; parameters, //, dot segments or percent-encoded characters. Those requests now require authentication.
  • Startup messages. Each affected rule gets one error-level line at startup, with a previous pattern showing what it used to match. The lines repeat on every pod start, so alerts on error-level logs will fire during the rollout for configurations with such rules. Configuration is never rejected.
  • There are no changes to configuration fields, APIs or metrics.

See the advisory for the full list of changes and for workarounds if you can't upgrade yet.

Full Changelog: v1.1.10...v1.1.11