Integer Overflow or Wraparound Affecting radare2 package, versions <4.2.1+dfsg-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
2.39% (91st 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-DEBIANUNSTABLE-RADARE2-536801
  • published5 Dec 2019
  • disclosed5 Dec 2019

Introduced: 5 Dec 2019

CVE-2019-19590  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Debian:unstable radare2 to version 4.2.1+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream radare2 package and not the radare2 package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

In radare2 through 4.0, there is an integer overflow for the variable new_token_size in the function r_asm_massemble at libr/asm/asm.c. This integer overflow will result in a Use-After-Free for the buffer tokens, which can be filled with arbitrary malicious data after the free. This allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via crafted input.

CVSS Scores

version 3.1