← All CVEs

CVE-2020-13151

critical · 9.8

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.

9.8
CVSS
86.7%
EPSS (exploit prob.)
100th
EPSS percentile
2020-08-05
Published

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-78

Affected products

VendorProductAffected versions
aerospikeaerospike_server< 4.5.3.21
aerospikeaerospike_server>= 4.6.0.1, < 4.6.0.19
aerospikeaerospike_server>= 4.7.0.1, < 4.7.0.17
aerospikeaerospike_server>= 4.8.0.1, < 4.8.0.13
aerospikeaerospike_server>= 4.9.0.1, < 4.9.0.10
aerospikeaerospike_server>= 5.0.0.1, < 5.0.0.7

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2020-13151