VDB
Sign up
—

GO-2023-1268

Authentication failure in mellium.im/sasl

Quick fix

GO-2023-1268 — mellium.im/sasl: upgrade to the fixed version with the command below.

go get mellium.im/sasl@v0.3.1

Details

An issue was discovered in Mellium mellium.im/sasl before 0.3.1. When performing SCRAM-based SASL authentication, if the remote end advertises support for channel binding, no random nonce is generated (instead, the nonce is empty). This causes authentication to fail in the best case, but (if paired with a remote end that does not validate the length of the nonce) could lead to insufficient randomness being used during authentication.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/mellium.im/sasl
Introduced in: 0Fixed in: 0.3.1
Fixgo get mellium.im/sasl@v0.3.1

References