CVE-2021-30500

Source
https://cve.org/CVERecord?id=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
2026-07-09T00:14:02Z
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 p_lx_elf.cpp,in version UPX 4.0.0. That allow attackers to execute arbitrary code and cause a denial of service via a crafted file.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "33"
                },
                {
                    "last_affected":  "33"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "fedoraproject:fedora"
        },
        {
            "cpes":  [
                "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "7.0"
                },
                {
                    "last_affected":  "7.0"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "redhat:enterprise_linux"
        }
    ]
}
References

Affected packages

Git / github.com/upx/upx

Affected ranges

Type
GIT
Repo
https://github.com/upx/upx
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:upx:upx:4.0.0:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "4.0.0"
        },
        {
            "last_affected":  "4.0.0"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

4.*
4.0.0
v4.*
v4.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30500.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "195659927832214189917620206032031836622",
            "length":  187
        },
        "id":  "CVE-2021-30500-1db58217",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/upx/upx/commit/90279abdfcd235172eab99651043051188938dcc",
        "target":  {
            "file":  "src/p_lx_elf.cpp",
            "function":  "PackLinuxElf32::canUnpack"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "297660809110354721268824656352953698232",
            "length":  678
        },
        "id":  "CVE-2021-30500-a331cfa2",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/upx/upx/commit/90279abdfcd235172eab99651043051188938dcc",
        "target":  {
            "file":  "src/p_lx_elf.cpp",
            "function":  "PackLinuxElf64::canUnpack"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "67808947422885382892001242696481940408",
                "248774463811149992663541651901235319961",
                "86334854398016093809039749763893135532",
                "317261114776454577962241975778966464315",
                "54005563392294180897993548789785126937",
                "245740544534781845508031889732424515074",
                "272111553269849423416259819047661130422",
                "213855792622867085735299794779365703227",
                "216478141590148980457976540764247459929",
                "274930623838235982655322564949524819121",
                "47113020994492468516410760695982302936",
                "86334854398016093809039749763893135532",
                "107370910835469206454149122140010260115",
                "255830532206859043250869008652145294010",
                "74292198608600530625601120046048391471",
                "98584086108833330075633664089875600274",
                "25965964887037125459983560885222598586",
                "282492245537366763669467335669003515783"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2021-30500-e010c96c",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/upx/upx/commit/90279abdfcd235172eab99651043051188938dcc",
        "target":  {
            "file":  "src/p_lx_elf.cpp"
        }
    }
]
vanir_signatures_modified
"2026-07-09T00:14:02Z"