CVE-2022-48195 mellium.im/sasl authentication failure due to insufficient nonce randomness
Insufficient randomness in SCRAM SASL authentication allows potential security bypass if the remote server does not validate nonce length.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-48195?
CVE-2022-48195 is a critical vulnerability in n/a, published on 31 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-287
Which versions are affected by CVE-2022-48195?
3 open source packages ship an affected version, including mellium.im/sasl. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mellium.im/sasl Go | All versions | 0.3.1 |
mellium.im/sasl Go | All versions | 0.3.1 |
mellium.im/sasl Go | All versions | 0.3.1 |
Products include Mellium Sasl.
How do I fix CVE-2022-48195?
Upgrade mellium.im/sasl to 0.3.1 or later.
Is CVE-2022-48195 being exploited?
There is no known exploitation of CVE-2022-48195 in the wild and no public exploit code.
Sources
Also known as GHSA-gvfj-fxx3-j323, GO-2023-1268.