Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/Masterminds/goutils
  4. ›
  5. GHSA-3839-6r69-m497

GHSA-3839-6r69-m497: Duplicate Advisory: GoUtils's randomly-generated alphanumeric strings contain significantly less entropy than expected

December 28, 2022 (updated January 23, 2026)

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-xg2h-wx96-xgxr. This link is maintained to preserve external references.

Original Description

Randomly-generated alphanumeric strings contain significantly less entropy than expected. The RandomAlphaNumeric and CryptoRandomAlphaNumeric functions always return strings containing at least one digit from 0 to 9. This significantly reduces the amount of entropy in short strings generated by these functions.

References

  • github.com/Masterminds/goutils
  • github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1
  • github.com/advisories/GHSA-3839-6r69-m497
  • nvd.nist.gov/vuln/detail/CVE-2021-4238
  • pkg.go.dev/vuln/GO-2022-0411

Code Behaviors & Features

Detect and mitigate GHSA-3839-6r69-m497 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.1.1

Fixed versions

  • 1.1.1

Solution

Upgrade to version 1.1.1 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-331: Insufficient Entropy

Source file

go/github.com/Masterminds/goutils/GHSA-3839-6r69-m497.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:27 +0000.