CVE-2021-30500

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-30500
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30500.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-30500
Downstream
Related
Published
2021-05-27T00:15:08Z
Modified
2025-10-21T02:36:48Z
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

Null pointer dereference was found in upx PackLinuxElf::canUnpack() in plxelf.cpp,in version UPX 4.0.0. That allow attackers to execute arbitrary code and cause a denial of service via a crafted file.

References

Affected packages

Git / github.com/upx/upx

Affected ranges

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

Database specific

vanir_signatures

[
    {
        "signature_type": "Function",
        "digest": {
            "function_hash": "195659927832214189917620206032031836622",
            "length": 187.0
        },
        "target": {
            "file": "src/p_lx_elf.cpp",
            "function": "PackLinuxElf32::canUnpack"
        },
        "source": "https://github.com/upx/upx/commit/90279abdfcd235172eab99651043051188938dcc",
        "id": "CVE-2021-30500-1db58217",
        "deprecated": false,
        "signature_version": "v1"
    },
    {
        "signature_type": "Function",
        "digest": {
            "function_hash": "297660809110354721268824656352953698232",
            "length": 678.0
        },
        "target": {
            "file": "src/p_lx_elf.cpp",
            "function": "PackLinuxElf64::canUnpack"
        },
        "source": "https://github.com/upx/upx/commit/90279abdfcd235172eab99651043051188938dcc",
        "id": "CVE-2021-30500-a331cfa2",
        "deprecated": false,
        "signature_version": "v1"
    },
    {
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "67808947422885382892001242696481940408",
                "248774463811149992663541651901235319961",
                "86334854398016093809039749763893135532",
                "317261114776454577962241975778966464315",
                "54005563392294180897993548789785126937",
                "245740544534781845508031889732424515074",
                "272111553269849423416259819047661130422",
                "213855792622867085735299794779365703227",
                "216478141590148980457976540764247459929",
                "274930623838235982655322564949524819121",
                "47113020994492468516410760695982302936",
                "86334854398016093809039749763893135532",
                "107370910835469206454149122140010260115",
                "255830532206859043250869008652145294010",
                "74292198608600530625601120046048391471",
                "98584086108833330075633664089875600274",
                "25965964887037125459983560885222598586",
                "282492245537366763669467335669003515783"
            ]
        },
        "target": {
            "file": "src/p_lx_elf.cpp"
        },
        "source": "https://github.com/upx/upx/commit/90279abdfcd235172eab99651043051188938dcc",
        "id": "CVE-2021-30500-e010c96c",
        "deprecated": false,
        "signature_version": "v1"
    }
]