CVE-2021-38190
CVE-2021-38190 affecting package librsvg2 for versions less than 2.58.1-1
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Azure Linux.
Description
An issue was discovered in the nalgebra crate before 0.27.1 for Rust. It allows out-of-bounds memory access because it does not ensure that the number of elements is equal to the product of the row count and column count.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Azure Linux 3.0 | librsvg2 | 0:2.58.1-1.azl3 |
| cargo::GitHub Security Advisory Rust | nalgebra | 0.27.1 |
References
- https://github.com/dimforge/nalgebra
- https://github.com/dimforge/nalgebra/blob/dev/CHANGELOG.md#0270
- https://github.com/dimforge/nalgebra/commit/a803271fcce75b7c151e92aa099dfa546db4adc5
- https://github.com/dimforge/nalgebra/issues/883
- https://github.com/dimforge/nalgebra/pull/889
- https://nvd.nist.gov/vuln/detail/CVE-2021-38190
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/nalgebra/RUSTSEC-2021-0070.md
- https://rustsec.org/advisories/RUSTSEC-2021-0070.html