CVE-2024-53256

Source
https://cve.org/CVERecord?id=CVE-2024-53256
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53256.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-53256
Aliases
  • GHSA-5jhc-frm4-p8v9
Published
2024-12-23T15:17:50.587Z
Modified
2026-06-20T09:59:48.167033Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Rizin has a command injection via RzBinInfo bclass due legacy code
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53256.json"
}
References

Affected packages

Git / github.com/rizinorg/rizin

Affected ranges

Type
GIT
Repo
https://github.com/rizinorg/rizin
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.7.4"
        }
    ]
}

Affected versions

0.*
0.1.0
v0.*
v0.1.0
v0.1.1
v0.1.2
v0.2.0
v0.2.1
v0.3.0
v0.3.1
v0.3.2
v0.3.3
v0.3.4
v0.4.0
v0.4.1
v0.5.0
v0.5.1
v0.5.2
v0.6.0
v0.6.1
v0.6.2
v0.6.3
v0.7.0
v0.7.1
v0.7.2
v0.7.3

Database specific

vanir_signatures
[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "176666271852239306400846681101879132418",
                "250681000660679485998367055926979244251",
                "134927983197663603695150419731225844746",
                "251063704295113106393899693552418825907",
                "164786856398000612859508854850331196438",
                "307328731553542586228795441788106304174",
                "238116822458271588704292294958200398129"
            ]
        },
        "id": "CVE-2024-53256-57653183",
        "signature_type": "Line",
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://github.com/rizinorg/rizin/commit/db6c5b39c065ce719f587c9815c47fbb834b10fa",
        "target": {
            "file": "librz/main/rizin.c"
        }
    },
    {
        "digest": {
            "function_hash": "283979120332574894122836435802239515964",
            "length": 25170.0
        },
        "id": "CVE-2024-53256-9c8dcf97",
        "signature_type": "Function",
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://github.com/rizinorg/rizin/commit/db6c5b39c065ce719f587c9815c47fbb834b10fa",
        "target": {
            "file": "librz/main/rizin.c",
            "function": "rz_main_rizin"
        }
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53256.json"
vanir_signatures_modified
"2026-06-20T09:59:48Z"