{"api_version":"1","generated_at":"2026-07-23T13:16:15+00:00","cve":"CVE-2020-13151","urls":{"html":"https://cve.report/CVE-2020-13151","api":"https://cve.report/api/cve/CVE-2020-13151.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-13151","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-13151"},"summary":{"title":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2020-08-05 13:15:00","updated_at":"2023-01-28 02:30:00"},"problem_types":["CWE-78"],"metrics":[],"references":[{"url":"http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html","name":"http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html","refsource":"MISC","tags":[],"title":"Aerospike Database 5.1.0.3 Remote Command Execution ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.aerospike.com/download/server/notes.html#5.1.0.3","name":"https://www.aerospike.com/download/server/notes.html#5.1.0.3","refsource":"MISC","tags":["Release Notes","Vendor Advisory"],"title":"Aerospike Server CE Release Note | Download | Aerospike","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles","name":"https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles","refsource":"MISC","tags":["Exploit","Vendor Advisory"],"title":"Documentation | Aerospike","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html","name":"https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"CVE-2020-13151 POC: Aerospike Server Host Command Execution | -pentest notes-","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html","name":"http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html","refsource":"MISC","tags":[],"title":"Aerospike Database UDF Lua Code Execution ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3","name":"https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3","refsource":"MISC","tags":["Release Notes","Vendor Advisory"],"title":"Aerospike Server EE Release Note | Enterprise Download | Aerospike","mime":"text/html","httpstatus":"200","archivestatus":"401"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-13151","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13151","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"13151","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"aerospike","cpe5":"aerospike_server","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"community","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"13151","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"aerospike","cpe5":"aerospike_server","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"community","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"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":[{"url":"https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles","refsource":"MISC","name":"https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-roles"},{"refsource":"MISC","name":"https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html","url":"https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.html"},{"refsource":"MISC","name":"https://www.aerospike.com/download/server/notes.html#5.1.0.3","url":"https://www.aerospike.com/download/server/notes.html#5.1.0.3"},{"refsource":"MISC","name":"https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3","url":"https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html","url":"http://packetstormsecurity.com/files/160106/Aerospike-Database-5.1.0.3-Remote-Command-Execution.html"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html","url":"http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.html"}]}},"nvd":{"publishedDate":"2020-08-05 13:15:00","lastModifiedDate":"2023-01-28 02:30:00","problem_types":["CWE-78"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":10},"severity":"HIGH","exploitabilityScore":10,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*","versionStartIncluding":"5.0.0.1","versionEndExcluding":"5.0.0.7","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*","versionStartIncluding":"4.8.0.1","versionEndExcluding":"4.8.0.13","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*","versionStartIncluding":"4.7.0.1","versionEndExcluding":"4.7.0.17","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*","versionStartIncluding":"4.6.0.1","versionEndExcluding":"4.6.0.19","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*","versionEndExcluding":"4.5.3.21","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:aerospike:aerospike_server:*:*:*:*:community:*:*:*","versionStartIncluding":"4.9.0.1","versionEndExcluding":"4.9.0.10","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"13151","Ordinal":"174330","Title":"CVE-2020-13151","CVE":"CVE-2020-13151","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"13151","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"13151","Ordinal":"2","NoteData":"2020-08-05","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"13151","Ordinal":"3","NoteData":"2020-12-11","Type":"Other","Title":"Modified"}]}}}