critical9.8
CVE-2022-48195
mellium.im/sasl authentication failure due to insufficient nonce randomness
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | mellium.im/sasl | < 0.3.1 | 0.3.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Mellium | Sasl | Version 0.3.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://mellium.im/cve/cve-2022-48195/
- https://github.com/advisories/GHSA-gvfj-fxx3-j323
- https://nvd.nist.gov/vuln/detail/CVE-2022-48195
- https://codeberg.org/mellium/sasl/commit/e6cbf681b247c4efa1477eaad2cc47a01707b732
- https://pkg.go.dev/vuln/GO-2023-1268
- https://codeberg.org/mellium/sasl/releases/tag/v0.3.1
- https://mellium.im/cve/cve-2022-48195