CVE-2021-4238
goutils: RandomAlphaNumeric and CryptoRandomAlphaNumeric are not as random as they should be
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, Azure Linux. Plus basse selon Red Hat (élevée), GHSA (faible).
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| Azure Linux 3.0 | influxdb | 0:2.7.3-3.azl3 |
| chainguard | dynamic-localpv-provisioner, dynamic-localpv-provisioner-fips | 3.4.1-r3 et 1 autres |
| go::GitHub Security Advisory Go | github.com/Masterminds/goutils | 1.1.1 |
| wolfi | dynamic-localpv-provisioner | 3.4.1-r3 |
Afficher les 5 entrées de 4 sources
| Source | Paquet | Corrigé en |
|---|---|---|
| Azure Linux 3.0 | influxdb | 0:2.7.3-3.azl3 |
| chainguard | dynamic-localpv-provisioner | 3.4.1-r3 |
| chainguard | dynamic-localpv-provisioner-fips | 3.5.0-r0 |
| go::GitHub Security Advisory Go | github.com/Masterminds/goutils | 1.1.1 |
| wolfi | dynamic-localpv-provisioner | 3.4.1-r3 |
Références
- https://access.redhat.com/security/cve/CVE-2021-4238
- https://github.com/Masterminds/goutils
- https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1
- https://github.com/Masterminds/goutils/commit/f1923532a168b8203bfe956d8cd3b17ebece5982
- https://github.com/Masterminds/goutils/releases/tag/v1.1.1
- https://github.com/Masterminds/goutils/security/advisories/GHSA-xg2h-wx96-xgxr
- https://github.com/advisories/GHSA-3839-6r69-m497
- https://nvd.nist.gov/vuln/detail/CVE-2021-4238