Description
When an SSH server authentication callback returned PartialSuccessError with non-nil Permissions, those permissions were silently discarded, potentially dropping certificate restrictions such as force-command after a second factor succeeded. Returning non-nil Permissions with PartialSuccessError now results in a connection error.
Problem types
CWE-863: Incorrect Authorization
Product status
Any version before 0.52.0
Credits
NCC Group Cryptography Services, sponsored by Teleport
References
groups.google.com/g/golang-announce/c/a082jnz-LvI