CVE-2020-25412
gnuplot: out-of-bounds-write from strncpy() may lead to arbitrary code execution
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, Photon OS. Niedriger laut Red Hat (mittel), Ubuntu (niedrig).
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| Photon OS 3.0 | gnuplot | 5.4.6-1.ph3 |
| Photon OS 4.0 | gnuplot | 5.4.0-2.ph4 |
| debian 11 | gnuplot | kein Fix angegeben |
| debian 12 | gnuplot | kein Fix angegeben |
| 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 |
Referenzen
- 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