Incorrect Authorization Affecting github.com/inoc603/go-sshd/auth package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined

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 IDSNYK-GOLANG-GITHUBCOMINOC603GOSSHDAUTH-2849015
  • published20 Jul 2022
  • disclosed29 May 2022
  • creditporcupineyhairs

Introduced: 29 May 2022

CVE NOT AVAILABLE CWE-285  (opens in a new tab)
CWE-863  (opens in a new tab)

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.

CVSS Scores

version 3.1