CVE-2022-48195 json
mellium.im/sasl authentication failure due to insufficient nonce randomness
published 2022-12-31 3 y ago modified 2026-06-17 4 mo ago also GHSA-gvfj-fxx3-j323 , GO-2023-1268 , EUVD-2022-7637
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go mellium.im/sasl 0.3.1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-48195 updated cvss 9.8
mellium.im/sasl: insufficient randomness during authentication
-
Red Hat Quay 3 quay/quay-operator-rhel8affected: no fix planned “Will not fix”
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/lighthouse-agent-rhel9, rhacm2/lighthouse-coredns-rhel9 Red Hat OpenShift Container Platform 4 openshift4/ose-coredns-rhel9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
0.90% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | mellium.im/sasl | <0.3.1 |
0.3.1 |
Classification
- Weakness
-
- CWE-287 Improper Authentication
References
-
codeberg.org
/mellium/sasl/commit/e6cbf681b247c4efa1477eaad2cc47a01707b732
web, patch
-
mellium.im
/cve/cve-2022-48195/
vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-48195
advisory
-
codeberg.org
/mellium/sasl
package
-
codeberg.org
/mellium/sasl/releases/tag/v0.3.1
web
-
mellium.im
/cve/cve-2022-48195
web
-
pkg.go.dev
/vuln/GO-2023-1268
web
Sources
- CVE List CVE-2022-48195
- GitHub Advisory GHSA-gvfj-fxx3-j323
- NVD CVE-2022-48195
- OSV GO-2023-1268
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.