radare2 command execution in binary format parsing
radareorg radare2
radareorg radare2
| Product | Affected | Fixed in |
|---|---|---|
| radareorg radare2 |
| No fix yet |
radare2 is a UNIX-like reverse engineering framework and command-line toolset. Prior to 6.2.2, attacker-controlled data from several binary format plugins could reach RBinInfo->bclass. Opening or analyzing a crafted Pebble or Sega Mega Drive binary could place a dbg:// URI in bclass, causing radare2 to reopen the input through the debug input/output plugin and ultimately pass attacker-controlled arguments to execvp(). This could execute commands with the privileges of the radare2 process without an explicit debugging command. This issue is fixed in version 6.2.2.
From the CVE record · GitHub_M
In radare2 before 6.2.2, attacker-controlled data in crafted Pebble or Sega Mega Drive binaries can reach a field used to reopen the input through the debug plugin. Opening or analyzing such a binary could execute commands with the privileges of the radare2 process, without an explicit debugging command.
Anyone running radare2 versions before 6.2.2 should check their installation.