Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/Masterminds/goutils
  4. ›
  5. GMS-2021-80

GMS-2021-80: RandomAlphaNumeric and CryptoRandomAlphaNumeric are not as random as they should be

May 21, 2021 (updated January 11, 2023)

A security-sensitive bug was discovered by Open Source Developer Erik Sundell of Sundell Open Source Consulting AB.

The functions RandomAlphaNumeric(int) and CryptoRandomAlphaNumeric(int) are not as random as they should be.

References

  • github.com/Masterminds/goutils/security/advisories/GHSA-xg2h-wx96-xgxr
  • github.com/advisories/GHSA-xg2h-wx96-xgxr

Code Behaviors & Features

Detect and mitigate GMS-2021-80 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.1.1

Fixed versions

  • v1.1.1

Solution

Upgrade to version 1.1.1 or above.

Source file

go/github.com/Masterminds/goutils/GMS-2021-80.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:16:04 +0000.