CVE-2024-53256 Rizin has a command injection via RzBinInfo bclass due legacy code

High 7.8 Published Updated

Attackers can execute arbitrary commands by crafting a malicious binary with specific RzBinInfo fields in the Rizin reverse engineering tool.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-53256?

CVE-2024-53256 is a high-severity command injection vulnerability in rizinorg rizin, published on 23 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Rizin is a UNIX-like reverse engineering framework and command-line toolset. `rizin.c` still had an old snippet of code which suffered a command injection due the usage of `rz_core_cmdf` to invoke the command `m` which was removed in v0.1.x. A malicious binary defining `bclass` (part of RzBinInfo) is executed if `rclass` (part of RzBinInfo) is set to `fs`; the vulnerability can be exploited by any bin format where `bclass` and `rclass` are user defined. This vulnerability is fixed in 0.7.4.

Weakness: CWE-78

Which versions are affected by CVE-2024-53256?

How do I fix CVE-2024-53256?

No fix has been published for CVE-2024-53256 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2024-53256 being exploited?

There is no known exploitation of CVE-2024-53256 in the wild and no public exploit code.

Sources

Also known as GHSA-5jhc-frm4-p8v9.

Is CVE-2024-53256 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free