Loading...
Skip to main content

CVE-2022-48195 — Vulnerability in mellium.im/sasl — CVE Details

CRITICAL

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

Published December 31, 2022Updated May 20, 2024Source: osv

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.

Advisory Timeline

  • First published December 31, 2022 (1381 days ago).
  • Last revised May 20, 2024 — 507 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update mellium.im/sasl to 0.3.1 or later
go get mellium.im/sasl@v0.3.1

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: go (1).

PackageEcosystemAffectedFixed In
mellium.im/sasl
go
All versions0.3.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-287
    Improper AuthenticationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2022-48195?
mellium.im/sasl authentication failure due to insufficient nonce randomness This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2022-48195?
CVE-2022-48195 affects mellium.im/sasl. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-48195 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-gvfj-fxx3-j323
GO-2023-1268

Related CVEs

  • CVE-2026-107806
    CRITICAL

    Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite

  • CVE-2026-68582
    CRITICAL

    Vikunja: Link-share token reads any tenant's kanban buckets and enumerates usernames/IDs instance-wide (BOLA)

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies