-
Notifications
You must be signed in to change notification settings - Fork 562
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: never sign client certificate requests in trustd
Talos worker nodes use `trustd` API on control plane nodes to issue certificates for `apid` service. Access to the API is protected with the Talos join token specified in the machine configuration. There was no validation on what kind of request is requested, so `trustd` could issue a certificate which is valid for client authentication with any set of Talos API RBAC roles, including `os:admin` role allowing full access to the Talos API on control plane nodes. See: GHSA-7hgc-php5-77qq CVE: CVE-2022-36103 Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
- Loading branch information
Showing
2 changed files
with
149 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters