Incorrect Authorization Affecting github.com/inoc603/go-sshd/auth package, versions *
Attack Complexity
High
Confidentiality
High
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications-
snyk-id
SNYK-GOLANG-GITHUBCOMINOC603GOSSHDAUTH-2849015
-
published
20 Jul 2022
-
disclosed
29 May 2022
-
credit
porcupineyhairs
How to fix?
A fix was pushed into the master
branch but not yet published.
Overview
Affected versions of this package are vulnerable to Incorrect Authorization due to the use of pam.Authenticate
, without a call to pam.AcctMgmt
. It allows a malicious actor that have expired credentials of another user to login.