Integer Overflow to Buffer Overflow Affecting radareorg/radare2 package, versions [0,5.8.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.18% (40th 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-RADAREORGRADARE2-3167268
  • published11 Dec 2022
  • disclosed11 Dec 2022
  • creditsolid-snail

Introduced: 11 Dec 2022

CVE-2022-4398  (opens in a new tab)
CWE-680  (opens in a new tab)

How to fix?

Upgrade radareorg/radare2 to version 5.8.0 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow to Buffer Overflow in realloc and memcpy calls in core_anal_graph_label. In the process of concatenating source lines based on DWARF data, the resulting size (32bit signed int) can overflow.

References

CVSS Base Scores

version 3.1