CVE-2022-48195
JSON

9.8critical

mellium.im/sasl authentication failure due to insufficient nonce randomness

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.89% (higher than 60% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-gvfj-fxx3-j323GO-2023-1268

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
mellium.im/sasl (Go)before 0.3.1GitHub Advisory Database, Go Vulnerability Database
mellium sasl0.3.0NVD

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-287

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se descubrió un problema en Mellium mellium.im/sasl antes de la versión 0.3.1. Al realizar la autenticación SASL basada en SCRAM, si el extremo remoto anuncia soporte para enlace de canal, no se genera ningún nonce aleatorio (en cambio, el nonce está vacío). Esto hace que la autenticación falle en el mejor de los casos, pero (si se combina con un extremo remoto que no valida la longitud del nonce) podría provocar que se utilice una aleatoriedad insuficiente durante la autenticación.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-48195 changed 2025-04-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-gvfj-fxx3-j323 changed 2024-05-20CC-BY-4.0
Go Vulnerability DatabaseGO-2023-1268 changed 2024-05-20CC-BY-4.0
NVDCVE-2022-48195 changed 2026-06-17Public domain