Skip to content

Pad v0.21.1

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Nov 11:42
· 30 commits to main since this release

Highlights

Security fix for the OAuth endpoints. /oauth/token, /oauth/revoke and /oauth/introspect now cap form bodies at 64 KiB (they previously read up to 10 MiB). They also refuse client_assertion and client_assertion_type with invalid_client before the OAuth library parses them, because Pad does not support JWT client authentication. On earlier versions, a crafted client assertion sent to the token endpoint, which needs no login, could stop the server process. Upgrade from 0.20.x or 0.21.0 is recommended for every instance reachable over the network. No configuration change and no migrations. See docs/api.md for the refusal shapes.

Changelog

Bug fixes

  • 190e880: fix(oauth): cap OAuth form bodies and refuse JWT client assertions (BUG-4644) (@xarmian)