{"id":"CVE-2020-13151","url":"https://www.cyber-defence.io/tools/cve/CVE-2020-13151","generatedAt":"2026-11-05T02:02:39.277Z","title":"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.","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.","published":"2020-08-05T13:15:11.000Z","lastModified":"2026-06-17T02:52:42.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-78"],"affected":["aerospike/aerospike server"],"epss":{"score":0.86749,"percentile":0.99743,"date":"2026-11-03","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2020-11-17","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":49067,"kind":"exploit","title":"Aerospike Database 5.1.0.3 - OS Command Execution","url":"https://www.exploit-db.com/exploits/49067","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/remote/49067.py","file":"exploits/multiple/remote/49067.py","published":"2020-11-17","added":"2020-11-17","updated":"2020-11-17","author":"Matt S","type":"remote","platform":"multiple","port":null,"verified":false,"codes":["CVE-2020-13151"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 86.7%, higher than 100% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles","tags":["Exploit","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://www.aerospike.com/download/server/notes.html#5.1.0.3","tags":["Release Notes","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3","tags":["Release Notes","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles","tags":["Exploit","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.aerospike.com/download/server/notes.html#5.1.0.3","tags":["Release Notes","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3","tags":["Release Notes","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-13151","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}