{
    "id": "CVE-2020-13151",
    "published": "2020-08-05 13:15:10",
    "last_modified": "2026-06-17 02:52:41",
    "cvss_score": "9.8",
    "cvss_severity": "CRITICAL",
    "cvss_version": "3.1",
    "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "cwe": "CWE-78",
    "description": "Aerospike Community Edition 4.9.0.5 allows for unauthenticated submission and execution of user-defined functions (UDFs), written in Lua, as part of a database query. It attempts to restrict code execution by disabling os.execute() calls, but this is insufficient. Anyone with network access can use a crafted UDF to execute arbitrary OS commands on all nodes of the cluster at the permission level of the user running the Aerospike service.",
    "epss_score": "0.86749",
    "epss_percentile": "0.99739",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-26 18:26:10",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "aerospike",
            "product": "aerospike_server"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "49067",
            "title": "Aerospike Database 5.1.0.3 - OS Command Execution",
            "date": "2020-11-17",
            "url": "https://www.exploit-db.com/exploits/49067"
        }
    ],
    "refs_list": [
        "http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html",
        "http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html",
        "https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html",
        "https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles",
        "https://www.aerospike.com/download/server/notes.html#5.1.0.3",
        "https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3",
        "http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html",
        "http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html",
        "https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html",
        "https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles",
        "https://www.aerospike.com/download/server/notes.html#5.1.0.3",
        "https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3"
    ]
}