CVE-2019-16718

Source
https://cve.org/CVERecord?id=CVE-2019-16718
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-16718.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-16718
Downstream
Published
2019-09-23T14:15:10.447Z
Modified
2026-02-06T22:14:05.696085Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

In radare2 before 3.9.0, a command injection vulnerability exists in bin_symbols() in libr/core/cbin.c. By using a crafted executable file, it's possible to execute arbitrary shell commands with the permissions of the victim. This vulnerability is due to an insufficient fix for CVE-2019-14745 and improper handling of symbol names embedded in executables.

References

Affected packages

Git / github.com/radare/radare2

Affected ranges

Type
GIT
Repo
https://github.com/radare/radare2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*
0.10.0
0.10.1
0.10.2
0.10.3
0.10.4
0.10.4-termux4
0.10.5
0.10.6
0.8.6
0.8.8
0.9
0.9.2
0.9.4
0.9.6
0.9.7
0.9.8
0.9.8-rc1
0.9.8-rc2
0.9.8-rc3
0.9.8-rc4
0.9.9
1.*
1.0
1.0.0
1.0.1
1.0.2
1.1.0
1.2.0
1.2.0-git
1.3.0
1.3.0-git
1.4.0
1.5.0
1.6.0
2.*
2.0.0
2.0.1
2.1.0
2.2.0
2.4.0
2.5.0
2.6.0
2.6.9
2.7.0
2.8.0
2.9.0
3.*
3.0.0
3.0.1
3.1.0
3.1.1
3.1.2
3.1.3
3.2.0
3.2.1
3.3.0
3.4.0
3.4.1
3.5.0
3.5.1
3.6.0
3.7.0
3.7.1
3.8.0
Other
radare2-windows-nightly
termux

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-16718.json"

Git / github.com/radareorg/radare2

Affected ranges

Type
GIT
Repo
https://github.com/radareorg/radare2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

0.*
0.10.0
0.10.1
0.10.2
0.10.3
0.10.4
0.10.4-termux4
0.10.5
0.10.6
0.8.6
0.8.8
0.9
0.9.2
0.9.4
0.9.6
0.9.7
0.9.8
0.9.8-rc1
0.9.8-rc2
0.9.8-rc3
0.9.8-rc4
0.9.9
1.*
1.0
1.0.0
1.0.1
1.0.2
1.1.0
1.2.0
1.2.0-git
1.3.0
1.3.0-git
1.4.0
1.5.0
1.6.0
2.*
2.0.0
2.0.1
2.1.0
2.2.0
2.4.0
2.5.0
2.6.0
2.6.9
2.7.0
2.8.0
2.9.0
3.*
3.0.0
3.0.1
3.1.0
3.1.1
3.1.2
3.1.3
3.2.0
3.2.1
3.3.0
3.4.0
3.4.1
3.5.0
3.5.1
3.6.0
3.7.0
3.7.1
3.8.0
Other
radare2-windows-nightly
termux

Database specific

vanir_signatures
[
    {
        "deprecated": false,
        "source": "https://github.com/radareorg/radare2/commit/dd739f5a45b3af3d1f65f00fe19af1dbfec7aea7",
        "id": "CVE-2019-16718-0dbcfed0",
        "target": {
            "file": "libr/core/cmd.c"
        },
        "digest": {
            "line_hashes": [
                "317488810962902592344445819136674902120",
                "169866625871224724731512073221137884551",
                "4269117821693612179544431679224963110",
                "308241161931991606418629548940286326638",
                "79127311771833399253728706101542289220",
                "319637933649273731419112936991263528851",
                "240612269648064862329691030475401667251",
                "73085386569639581779180237792861462308",
                "318526371614887852207008864056085256664",
                "161557941339607733122696389635182555867",
                "129292445152825761405057048662039317246",
                "124133692657181207236947679391067088514",
                "38530343760799359787036718555853910305",
                "137443136584897030363067418202734259661"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "signature_version": "v1"
    },
    {
        "deprecated": false,
        "source": "https://github.com/radareorg/radare2/commit/5411543a310a470b1257fb93273cdd6e8dfcb3af",
        "id": "CVE-2019-16718-62e7dcb3",
        "target": {
            "file": "libr/core/cbin.c",
            "function": "__filterShell"
        },
        "digest": {
            "function_hash": "280743037490226055905725479237311853190",
            "length": 366.0
        },
        "signature_type": "Function",
        "signature_version": "v1"
    },
    {
        "deprecated": false,
        "source": "https://github.com/radareorg/radare2/commit/5411543a310a470b1257fb93273cdd6e8dfcb3af",
        "id": "CVE-2019-16718-82a12b35",
        "target": {
            "file": "libr/core/cbin.c",
            "function": "__filterQuotedShell"
        },
        "digest": {
            "function_hash": "260034411749770638762262674626475980159",
            "length": 356.0
        },
        "signature_type": "Function",
        "signature_version": "v1"
    },
    {
        "deprecated": false,
        "source": "https://github.com/radareorg/radare2/commit/dd739f5a45b3af3d1f65f00fe19af1dbfec7aea7",
        "id": "CVE-2019-16718-dbd63f19",
        "target": {
            "file": "libr/core/cmd.c",
            "function": "r_core_cmd_subst_i"
        },
        "digest": {
            "function_hash": "243284532810005839889338553972637709995",
            "length": 21772.0
        },
        "signature_type": "Function",
        "signature_version": "v1"
    },
    {
        "deprecated": false,
        "source": "https://github.com/radareorg/radare2/commit/5411543a310a470b1257fb93273cdd6e8dfcb3af",
        "id": "CVE-2019-16718-f23e17fe",
        "target": {
            "file": "libr/core/cbin.c",
            "function": "bin_symbols"
        },
        "digest": {
            "function_hash": "2673704822781323976305842750783050620",
            "length": 6729.0
        },
        "signature_type": "Function",
        "signature_version": "v1"
    },
    {
        "deprecated": false,
        "source": "https://github.com/radareorg/radare2/commit/5411543a310a470b1257fb93273cdd6e8dfcb3af",
        "id": "CVE-2019-16718-f58cef60",
        "target": {
            "file": "libr/core/cbin.c"
        },
        "digest": {
            "line_hashes": [
                "26629979593913050824136394948263581958",
                "265363944661202372784511328726447108520",
                "196087913314792962461625103550267854487",
                "221735703426535949197927758456269034458",
                "36931061305904637821137331584243097313",
                "95044129979965714679564635027021774328",
                "102117031119003826815596448875140707537",
                "192042764460574034996692861831520396425",
                "254190525944088301019561908631374612763",
                "210439594222495300614012499021717015591",
                "319074680812911121623032214433013011111",
                "227287562667788158347355795966419938344",
                "179217010051314134020445369876468483115",
                "20609959487657234431763969435635951488",
                "256558726414972598923909558971908050903",
                "75579071210590032179963523880660791748",
                "79050911796625798115967659306742871012",
                "61114614083136717713550040186406438590",
                "177401642275492397547073737766579230139",
                "121437004344586728614784867182446446135",
                "180897627712744405325692611054485545100",
                "306971051652392862994389404070278176331",
                "134901848439852684576396063726356710277"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "signature_version": "v1"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-16718.json"