CVE-2021-27378
CVE-2021-27378 affecting package librsvg2 for versions less than 2.58.1-1
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, GHSA, Azure Linux.
Descripción
An issue was discovered in the rand_core crate before 0.6.2 for Rust. Because read_u32_into and read_u64_into mishandle certain buffer-length checks, a random number generator may be seeded with too little data.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| Azure Linux 3.0 | librsvg2 | 0:2.58.1-1.azl3 |
| cargo::GitHub Security Advisory Rust | rand_core | 0.6.2 |
Referencias
- https://github.com/rust-random/rand
- https://github.com/rust-random/rand/compare/0.6.0...rand_core-0.6.2#diff-f41b3dfa5ce28f3bee390d327c50621e141cf3569921f8e9ca15ccfcf25263a9R19
- https://github.com/rust-random/rand/compare/0.6.0...rand_core-0.6.2#diff-f41b3dfa5ce28f3bee390d327c50621e141cf3569921f8e9ca15ccfcf25263a9R28
- https://github.com/rust-random/rand/pull/1096
- https://nvd.nist.gov/vuln/detail/CVE-2021-27378
- https://rustsec.org/advisories/RUSTSEC-2021-0023.html