Out-of-Bounds Affecting chess package, versions [,6.2.4)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.76% (89th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-Bounds vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-CHESS-2374259
  • published26 Jan 2022
  • disclosed23 Jan 2017
  • creditUnknown

Introduced: 23 Jan 2017

CVE-2015-8972  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade chess to version 6.2.4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. 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.

References

CVSS Base Scores

version 3.1