Description
Kestra 1.3.24 before 1.3.41 contains an insufficient credential expiration vulnerability that allows holders of a revoked administrator password to keep authenticating on peer webserver nodes through BasicAuthService's process-local verified-token cache. Attackers whose token remains cached on a peer node can call POST /api/v1/{tenant}/basicAuth to overwrite the shared administrator credentials and lock out the legitimate administrator.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Kestra Kestra
Default version status: unaffected
1.3.24 to < 1.3.41affected
pkg:maven/io.kestra/kestraReferences
- https://github.com/kestra-io/kestra/security/advisories/GHSA-94pv-f379-3gp3 ↗
- https://github.com/kestra-io/kestra/commit/16fa03d159270624bf3059f3ea79b1e7d7edfc1a ↗
- https://github.com/kestra-io/kestra/commit/ec11cfe89464aa8d4321219721d57c5d828b7571 ↗
- https://github.com/kestra-io/kestra/releases/tag/v1.3.41 ↗
- https://github.com/kestra-io/kestra/releases/tag/v2.0.0 ↗
- https://github.com/kestra-io/kestra/blob/v1.3.40/webserver/src/main/java/io/kestra/webserver/services/BasicAuthService.java#L253-L260 ↗
- https://www.vulncheck.com/advisories/kestra-1.3.24-before-1.3.41-insufficient-credential-expiration-via-basic-auth-token-cache ↗