CVE-2020-25412
gnuplot: out-of-bounds-write from strncpy() may lead to arbitrary code execution
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, Photon OS. Plus basse selon Red Hat (moyenne), Ubuntu (faible).
Description
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| Photon OS 3.0 | gnuplot | 5.4.6-1.ph3 |
| Photon OS 4.0 | gnuplot | 5.4.0-2.ph4 |
| debian 11 | gnuplot | pas de correctif indiqué |
| debian 12 | gnuplot | pas de correctif indiqué |
| 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 |
Références
- 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