Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS0zODM5LTZyNjktbTQ5N84AAwoN

GoUtils's randomly-generated alphanumeric strings contain significantly less entropy than expected

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.

Permalink: https://github.com/advisories/GHSA-3839-6r69-m497
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zODM5LTZyNjktbTQ5N84AAwoN
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 1 year ago
Updated: about 1 year ago


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

Identifiers: GHSA-3839-6r69-m497, CVE-2021-4238
References: Repository: https://github.com/Masterminds/goutils
Blast Radius: 39.0

Affected Packages

go:github.com/Masterminds/goutils
Dependent packages: 6,878
Dependent repositories: 19,393
Downloads:
Affected Version Ranges: < 1.1.1
Fixed in: 1.1.1
All affected versions: 1.0.1, 1.1.0
All unaffected versions: 1.1.1