CVE-2020-25412
gnuplot: out-of-bounds-write from strncpy() may lead to arbitrary code execution
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Photon OS. Más baja según Red Hat (media), Ubuntu (baja).
Descripción
com_line() in command.c in gnuplot 5.4 leads to an out-of-bounds-write from strncpy() that may lead to arbitrary code execution.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| Photon OS 3.0 | gnuplot | 5.4.6-1.ph3 |
| Photon OS 4.0 | gnuplot | 5.4.0-2.ph4 |
| debian 11 | gnuplot | sin corrección indicada |
| debian 12 | gnuplot | sin corrección indicada |
| debian 13 | gnuplot | 6.0.0+dfsg1-1 |
| debian 14 | gnuplot | 6.0.0+dfsg1-1 |
| echo | gnuplot | 6.0.0+dfsg1-1 |
| rapidfort debian 12 | gnuplot | 0:6.0.0+dfsg1-1 |
| rapidfort debian 13 | gnuplot | 0:6.0.0+dfsg1-1 |
| ubuntu 20.04-ESM | gnuplot | 5.2.8+dfsg1-2ubuntu0.1~esm1 |
Referencias
- https://access.redhat.com/security/cve/CVE-2020-25412
- https://github.com/gnuplot/gnuplot/commit/963c7df3e0c5266efff260d0dff757dfe03d3632
- https://nvd.nist.gov/vuln/detail/CVE-2020-25412
- https://sourceforge.net/p/gnuplot/bugs/2303/
- https://ubuntu.com/security/notices/USN-7589-1
- https://www.cve.org/CVERecord?id=CVE-2020-25412