GHSA-3839-6r69-m497

Suggest an improvement
Source
https://github.com/advisories/GHSA-3839-6r69-m497
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-3839-6r69-m497/GHSA-3839-6r69-m497.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-3839-6r69-m497
Aliases
Related
Published
2022-12-28T00:30:23Z
Modified
2024-09-11T06:13:42.199523Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
GoUtils's randomly-generated alphanumeric strings contain significantly less entropy than expected
Details

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.

Database specific
{
    "nvd_published_at": "2022-12-27T22:15:00Z",
    "cwe_ids": [
        "CWE-331"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2022-12-30T18:53:53Z"
}
References

Affected packages

Go / github.com/Masterminds/goutils

Package

Name
github.com/Masterminds/goutils
View open source insights on deps.dev
Purl
pkg:golang/github.com/Masterminds/goutils

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.1