CVE-2021-4238
goutils: RandomAlphaNumeric and CryptoRandomAlphaNumeric are not as random as they should be
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Azure Linux. Más baja según Red Hat (alta), GHSA (baja).
Descripción
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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| Azure Linux 3.0 | influxdb | 0:2.7.3-3.azl3 |
| chainguard | dynamic-localpv-provisioner, dynamic-localpv-provisioner-fips | 3.4.1-r3 y 1 más |
| go::GitHub Security Advisory Go | github.com/Masterminds/goutils | 1.1.1 |
| wolfi | dynamic-localpv-provisioner | 3.4.1-r3 |
Mostrar las 5 entradas de 4 fuentes
| Fuente | Paquete | Corregido 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 |
Referencias
- 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