Buffer Overflow Affecting chess package, versions [,6.2.9)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.77% (76th 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 IDSNYK-UNMANAGED-CHESS-2374258
  • published26 Jan 2022
  • disclosed7 Apr 2021
  • creditUnknown

Introduced: 7 Apr 2021

CVE-2021-30184  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade chess to version 6.2.9 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. GNU Chess 6.2.7 allows attackers to execute arbitrary code via crafted PGN (Portable Game Notation) data. This is related to a buffer overflow in the use of a .tmp.epd temporary file in the cmd_pgnload and cmd_pgnreplay functions in frontend/cmd.cc.

References

CVSS Base Scores

version 3.1