CVE-2022-48195
mellium.im/sasl: insufficient randomness during authentication
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | mellium.im/sasl | 0.3.1 |
References
- https://access.redhat.com/security/cve/CVE-2022-48195
- https://codeberg.org/mellium/sasl
- https://codeberg.org/mellium/sasl/commit/e6cbf681b247c4efa1477eaad2cc47a01707b732
- https://codeberg.org/mellium/sasl/releases/tag/v0.3.1
- https://mellium.im/cve/cve-2022-48195
- https://mellium.im/cve/cve-2022-48195/
- https://nvd.nist.gov/vuln/detail/CVE-2022-48195
- https://pkg.go.dev/vuln/GO-2023-1268