CVE-2015-8972
gnuchess: Stack-based buffer overflow on user move input
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium).
Description
Stack-based buffer overflow in the ValidateMove function in frontend/move.cc in GNU Chess (aka gnuchess) before 6.2.4 might allow context-dependent attackers to execute arbitrary code via a large input, as demonstrated when in UCI mode.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | gnuchess | 6.2.4-1 |
| debian 12 | gnuchess | 6.2.4-1 |
| debian 13 | gnuchess | 6.2.4-1 |
| debian 14 | gnuchess | 6.2.4-1 |
| echo | gnuchess | 6.2.4-1 |
References
- http://lists.gnu.org/archive/html/bug-gnu-chess/2015-10/msg00002.html
- http://svn.savannah.gnu.org/viewvc/chess?revision=134&view=revision
- http://www.openwall.com/lists/oss-security/2016/11/13/2
- http://www.openwall.com/lists/oss-security/2016/11/14/11
- http://www.openwall.com/lists/oss-security/2016/11/14/12
- https://access.redhat.com/security/cve/CVE-2015-8972
- https://nvd.nist.gov/vuln/detail/CVE-2015-8972
- https://www.cve.org/CVERecord?id=CVE-2015-8972