{"id":"CVE-2020-13151","state":"PUBLISHED","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. It attempts t","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.","publishedAt":"2020-08-05T12:36:39.000Z","updatedAt":"2024-08-04T12:11:19.091Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles","https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html","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"],"weaknesses":[],"ingestedAt":"2026-10-29T19:46:30.825Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/13xxx/CVE-2020-13151.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-13151","state":"PUBLISHED","datePublished":"2020-08-05T12:36:39.000Z","dateUpdated":"2024-08-04T12:11:19.091Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2020-05-18T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles","tags":["x_refsource_MISC"]},{"url":"https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html","tags":["x_refsource_MISC"]},{"url":"https://www.aerospike.com/download/server/notes.html#5.1.0.3","tags":["x_refsource_MISC"]},{"url":"https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2020-12-11T19:06:10.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2020-13151","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles","refsource":"MISC","url":"https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles"},{"name":"https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html","refsource":"MISC","url":"https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html"},{"name":"https://www.aerospike.com/download/server/notes.html#5.1.0.3","refsource":"MISC","url":"https://www.aerospike.com/download/server/notes.html#5.1.0.3"},{"name":"https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3","refsource":"MISC","url":"https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3"},{"name":"http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html"},{"name":"http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html"}]}}},"adp":[{"title":"CVE Program Container","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"]},{"url":"https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.aerospike.com/download/server/notes.html#5.1.0.3","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T12:11:19.091Z"}}]}}}