{"id":"CVE-2020-13151","aliases":["EUVD-2020-5427","GHSA-x797-g6hx-fpf9"],"status":"published","title":"Aerospike Community Edition 4.9.0.5 allows for unauthenticated submission and execution of user...","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.86516,"percentile":0.9974,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-78"],"published":"2020-08-05T12:36:39Z","modified":"2026-10-24T14:22:39Z","exploits":[{"source":"exploitdb","id":"EDB-49067","title":"Aerospike Database 5.1.0.3 - OS Command Execution","type":"remote","platform":"multiple","date":"2020-11-17","url":"https://www.exploit-db.com/exploits/49067"},{"source":"metasploit","id":"exploit/linux/misc/aerospike_database_udf_cmd_exec","title":"Aerospike Database UDF Lua Code Execution","type":"exploit","platform":"Linux,Unix","date":"2020-07-31","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/linux/misc/aerospike_database_udf_cmd_exec"},{"source":"pocgithub","id":"ByteMe1001/CVE-2020-13151-POC-Aerospike-Server-Host-Command-Execution-RCE-","title":"ByteMe1001/CVE-2020-13151-POC-Aerospike-Server-Host-Command-Execution-RCE-","date":"2025-05-03","url":"https://github.com/ByteMe1001/CVE-2020-13151-POC-Aerospike-Server-Host-Command-Execution-RCE-"},{"source":"pocgithub","id":"b4ny4n/CVE-2020-13151","title":"b4ny4n/CVE-2020-13151","date":"2020-08-01","url":"https://github.com/b4ny4n/CVE-2020-13151"}],"products":[{"vendor":"aerospike","product":"aerospike_server"}],"references":[{"url":"https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","evidence"]},{"url":"https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://www.aerospike.com/download/server/notes.html#5.1.0.3","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","advisory"]},{"url":"https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","advisory"]},{"url":"http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13151"},{"url":"https://github.com/advisories/GHSA-x797-g6hx-fpf9"}],"sources":{"cve":[{"id":"CVE-2020-13151","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.","status":"published","published":"2020-08-05T12:36:39Z","modified":"2024-08-04T12:11:19.091Z","updated_at":"2026-11-02T14:35:53.868619Z"}],"euvd":[{"id":"EUVD-2020-5427","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.","status":"published","published":"2020-08-05T12:36:39Z","modified":"2024-08-04T12:11:19Z","updated_at":"2026-11-03T03:07:38.81332Z"}],"ghsa":[{"id":"GHSA-x797-g6hx-fpf9","title":"Aerospike Community Edition 4.9.0.5 allows for unauthenticated submission and execution of user...","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.","status":"published","published":"2022-05-24T17:24:57Z","modified":"2023-02-04T05:06:30Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:53:58.500745Z"}],"nvd":[{"id":"CVE-2020-13151","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.","status":"published","published":"2020-08-05T13:15:10.603Z","modified":"2026-06-17T02:52:41.76Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:06:10.994748Z"}],"osv":[{"id":"CVE-2020-13151","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.","status":"published","published":"2020-08-05T13:15:10.603Z","modified":"2026-10-24T14:22:39.750834751Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:14.034736Z"}]}}
