Missing Critical Step in Authentication Affecting mellium.im/sasl package, versions <0.3.1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.2% (59th percentile)

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-MELLIUMIMSASL-3186303
  • published1 Jan 2023
  • disclosed1 Jan 2023
  • creditUnknown

Introduced: 1 Jan 2023

CVE-2022-48195  (opens in a new tab)
CWE-304  (opens in a new tab)

How to fix?

Upgrade mellium.im/sasl to version 0.3.1 or higher.

Overview

mellium.im/sasl is a Go library implementing the Simple Authentication and Security Layer (SASL) as defined by RFC 4422.

Affected versions of this package are vulnerable to Missing Critical Step in Authentication if the remote side of a SCRAM-based connection advertises support for channel binding, since an empty nonce is used. If paired with a remote end that does not validate the length of the nonce, this could lead to insufficient randomness being used during authentication.

CVSS Scores

version 3.1