CVE-2021-4238
goutils: RandomAlphaNumeric and CryptoRandomAlphaNumeric are not as random as they should be
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, Azure Linux. Niedriger laut Red Hat (hoch), GHSA (niedrig).
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| Azure Linux 3.0 | influxdb | 0:2.7.3-3.azl3 |
| chainguard | dynamic-localpv-provisioner, dynamic-localpv-provisioner-fips | 3.4.1-r3 und 1 weitere |
| go::GitHub Security Advisory Go | github.com/Masterminds/goutils | 1.1.1 |
| wolfi | dynamic-localpv-provisioner | 3.4.1-r3 |
Alle 5 Einträge aus 4 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| 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 |
Referenzen
- 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